How to re-lock ssh private key?

Wolfgang S. Rupprecht wolfgang.rupprecht+gnus200903 at gmail.com
Thu Mar 5 15:06:07 UTC 2009


Gordon Messmer <yinyang at eburg.com> writes:
> Wolfgang S. Rupprecht wrote:
>> Another thing that appears not to work with the gnome version of the
>> ssh-agent is "ssh-add -d" or "ssh-add -D".  Not good.
>
> I think you're confused by the fact that the identities are still
> listed by "ssh-add -l".  They're certainly deactivated and require a
> passphrase in order to be used again (tested in GNOME 2.24).

No, I'm confused by the fact that I can still ssh to remote machines
without entering my key-unlocking passphrase. ;-)

    $ ssh-add -D
    All identities removed.
    $ ssh localhost
    Last login: Thu Mar  5 07:03:01 2009 from localhost
    $

-wolfgang
-- 
Wolfgang S. Rupprecht              http://www.full-steam.org/  (ipv6-only)
         You may need to config 6to4 to see the above pages.




More information about the fedora-list mailing list