-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mittwoch, 22. Januar 2003 15:38, Achim Bohnet wrote: > > From the manpages: > > > > NAME > > ssh-add - adds RSA or DSA identities to the authentication agent > > [...] > > ENVIRONMENT > > DISPLAY and SSH_ASKPASS > > If ssh-add needs a passphrase, it will read the passphrase > > from the current terminal if it was run from a terminal. If ssh-add 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 particularly useful when calling > > ssh-add 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.) > > > > [...] > > [EMAIL PROTECTED](0) ~ $ apt-cache search ssh-askpass > ssh-askpass-gnome - under X, asks user for a passphrase for ssh-add > ssh-askpass - under X, asks user for a passphrase for ssh-add > > > gnome-ssh-askpass just ask for a the ssh passphrase and on 'okay' > > writes it to stdout + \n. On cancel nothing is writen. > > > > So setting SSH_ASPASS after ssh-agent is running and before (or at the > > top) /usr/bin/kde3 run ssh-add. This way keybased assccess with sftp, > > ssh session in rest > > Maybe a > > $ cat > kde-ssh-askpass > #!/bin/sh > exec kdialog --password 'give me the mantra' > ^D > > as another (/etc/)alternative for ssh-askpass would also. > > There's only a suble difference: On cancel gnome version > return '' + retcode 0, kdialog returns "\n" and retcode 1.
Chris, can you add this and fix your conflicts in arts, kdebase, kdegraphics, kdemultimedia please ? Thanks, Ralf - -- We're not a company, we just produce better code at less costs. - -------------------------------------------------------------------- Ralf Nolden [EMAIL PROTECTED] The K Desktop Environment The KDevelop Project http://www.kde.org http://www.kdevelop.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+LxEEu0nKi+w1Ky8RAl5fAJ9ZWKI2Nfol8931tzWOkzQL0RXy8gCfXkVq z+A6xMHYcWsSns4hyn86oGI= =H1Rn -----END PGP SIGNATURE-----