Re: How to re-lock ssh private key?

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

 



On Mon, Mar 2, 2009 at 11:06 PM, Robert Nichols
<rnicholsNOSPAM@xxxxxxxxxxx> wrote:
> After I've used ssh on a connection with RSA authorization and given
> my keyring's passphrase to gnome-ssh-askpass, that keyring is now
> unlocked and future connections can be made without the passphrase.
> Is there a way, short of logging out and back in, to make the
> passphrase required again for a connection?  I'd rather not have to
> uninstall or disable openssh-askpass since it's nice not to have
> to supply a lengthy passphrase repeatedly when needed in a short
> period, but I really don't like leaving that key open indefinitely.
>
> In searching for info I keep getting references to ssh-agent being
> responsible for remembering the key, but I find that ssh-agent is
> never executed on my system.
>
> I'm running currently updated Fedora 10 with Gnome.

This is how I do it:
Configure the system to boot into runlevel 3.
At the CLI type (use backticks):   ssh-agent `exec startx'
Load the keys --passphrase required only once.
Lock the agent --blank spaces count on this password.

>From there on, the ssh-agent will be available until you reboot or
log out completely.

Read the man pages: ssh-add, ssh-agent for more info.
~af

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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