Hello,
I use KDE with the ssh-askpass/ssh-add commands as part of my login
.bash_profile. However, when I login the keys are not kept by ssh-add. This
worked at RH7.3.
Upon login I get the ssh-askpass window pop up. By simply putting echo
statements into .bash_profile I can see that the ssh-add command is reached
and has the keys. However, once the login process has completed 'ssh-add -l'
shows no keys. Also the SSH_ASKPASS variable has changed from
'/usr/libexec/openssh/ssh-askpass' to
'/usr/libexec/openssh/gnome-ssh-askpass'. I don't use GNOME to login though!
The .bash-profile section looks like:
if [ "$DISPLAY" = ':0' ]; then
eval `ssh-agent` >/dev/null
SSH_ASKPASS=/usr/libexec/openssh/ssh-askpass
export SSH_ASKPASS
ssh-add
Echoing the output of 'ssh-add -l' into a file after the 'ssh-add' command
shows the keys have been accepted, and, obviously, that that part of the
.bash-profile has been reached.
Anyone any ideas about this? To get around it I simply enter shh-add once
logged in and then re-enter my passphrase. The keys are held for the session
then. If no-one has any thoughts, then I'll submit a bugzilla report about
it.
Regards,
John.
------------------------------------------------------------------------
John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
PGP key available from public key servers