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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux