Re: Gnome utility for remembering ssh passwords?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgp3nZBMf2P6o.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux