Martin Koegler <mkoegler@xxxxxxxxxxxxxxxxx> 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. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html