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: pgpXuSYRzdkIo.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux