new option ssh-add -v to verify if key is loaded into the agent
Peter Stuge
peter at stuge.se
Fri Apr 8 07:50:29 EST 2011
Andy Tsouladze wrote:
> ssh-add without any argument shows which keys are loaded, like this:
Not quite.
> % ssh-add
> Identity added: /home/andyt/.ssh/id_rsa (/home/andyt/.ssh/id_rsa)
Here ssh-add reports that it has added your private key. This
suggests that you have no passphrase on your key. Should fix that. :)
But more importantly, using the filename is not reliable, because by
the time ssh-add -l or -L is called, the file with that name on disk
may have changed.
//Peter
More information about the openssh-unix-dev
mailing list