[30405] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Putty + GSSAPI from W2k3 terminal server to linux openssh daemon

daemon@ATHENA.MIT.EDU (petesea@bigfoot.com)
Sat Nov 1 15:14:28 2008

Date: Sat, 01 Nov 2008 12:13:30 -0700 (PDT)
From: petesea@bigfoot.com
In-reply-to: <mailman.509.1225556212.3778.kerberos@mit.edu>
To: kerberos@mit.edu
Message-id: <alpine.OSX.1.10.0811011147230.558@zippy-air>
MIME-version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Fri, 31 Oct 2008, pbh@MIT.EDU wrote:

> Do you know of any distributions that work with KfW that have a version 
> of plink that doesn't always open a Windows console window? I know that 
> Quest (formerly Vintella?) has a version that does this, but it only 
> supports SSPI.
> 
> I want to be able to use svn+ssh from within Eclipse, on a machine that 
> is not in a Windows domain, without having the system flash open a large 
> number of console windows while I am either checking file out or in.

This is actually pretty easy to fix, if you don't mind compiling your own 
version.  All you need to do is build a "GUI" version of plink.exe.

By default (at least with the Cygwin build using Makefile.cyg), plink.exe 
is built as a "Console" app.  In order to prevent the console windows you 
see when it's run via Eclipse/TortoiseSVN, you need to use a "GUI" 
version.

These instructions are for compiling via Cygwin, but I'm guessing there 
must be a similar approach for the other methods:

   - go to the "windows" subdir of the source
   - edit Makefile.cyg
   - change the "all:" target and add "plinkgui.exe" just after "plink.exe"
   - make a copy of the "plink.exe" target dependency/build lines
   - change the target of the copy to "plinkgui.exe"
   - add "-mwindows" just after $(CC) in the plinkgui.exe build line
   - run make

You should end up with both "plink.exe" and "plinkgui.exe".  plink.exe 
will be a "Console" app and "plinkgui.exe" will be a "GUI" app.  The GUI 
version will not display the console windows.

If you're trying to debug a problem you probably want to use "plink.exe", 
but as long as everything is working and you just want to prevent the 
console windows, use "plinkgui.exe".
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post