From: Shawn O. Pearce Date: Thu, 15 Feb 2007 04:07:25 GMT Subject: Re: git-gui Error Message-ID: <20070215040725.GB29944@spearce.org> In-Reply-To: <20070214180906.GB21612@auto.tuwien.ac.at> Martin Koegler wrote: > 1) SSH_ASKPASS (see ssh(1)) > If ssh needs a passphrase, it will read the passphrase from the > current terminal if it was run from a terminal. If ssh does not > have a terminal associated with it but DISPLAY and SSH_ASKPASS > are set, it will execute the program specified by SSH_ASKPASS > and open an X11 window to read the passphrase. This is particu- > larly useful when calling ssh from a .Xsession or related > script. (Note that on some machines it may be necessary to > redirect the input from /dev/null to make this work.) > > This require, that a password helper is installed. One implementation > is part of every linux distribution (openssh-askpass-gnome). I had written a Tk based SSH_ASKPASS helper not to long ago, and hoped it would work here. It doesn't work on Cygwin for anything except ssh-agent. I'm not sure why. I haven't tested other platforms. > 2) Simulate user (like http://websvn.kde.org/tags/KDE/3.4.3/kdebase/kioslave/fish/fish.cpp?rev=467549&view=auto) Yea, that's a difficult one, and very error prone... -- Shawn.