Gnome utility for remembering ssh passwords?

Todd Zullinger tmz at pobox.com
Tue May 27 18:38:17 UTC 2008


David Jansen wrote:
> I have ssh-agent running as soon as I log in, and it seems to be
> referenced in /etc/X11/xinit/Xsession, which as far as I know is the
> script started by gdm to start an X session
> 
> As far as I know, I didn't need to do anything to make ssh-agent run 

Correct, ssh-agent is run by default (and has been for many releases).

The next step is adding keys to the agent.  Colin, what is the output
of "ssh-add -l" ?

Are you running Gnome?  If so, you should get a prompt for the key(s)
in ~/.ssh/id_[dr]sa at login.  There is a little bit of information
about this at: http://live.gnome.org/GnomeKeyring/Ssh

I don't know what, if any, integration KDE has.  In any case, you
should still be able to use ssh-add to add keys to the agent manually.
I used to do this on login with a little snippet in ~/.xsession (which
also called "exec /usr/bin/gnome-session" at the end):

# add ssh key(s)
if [ -x /usr/bin/ssh-add ] && [ -f ~/.ssh/id_dsa -o -f ~/.ssh/id_rsa ]; then
    /usr/bin/ssh-add < /dev/null
fi

Then I'd just type the passphrase once to unlock my key(s) for that
session.   I eventually switched to pam_ssh as David mentioned, to get
my keys unlocked automatically, but with F9 I no longer need that.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Procrastination is the art of keeping up with yesterday.
    -- Don Marquis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080527/a3dc0acd/attachment-0001.sig>


More information about the fedora-list mailing list