new option ssh-add -v to verify if key is loaded into the agent

Daniel Kahn Gillmor dkg at
Fri Apr 8 07:20:05 EST 2011

On 04/07/2011 03:12 AM, Konrad Bucheli wrote:
> In a shell script I need to verify if a key belonging to a given public
> key file is already loaded into the agent. To achieve this, I added a
> new option -v to ssh-add which does this verification.

Couldn't this already be implemented by grepping the output of
ssh-add -L ?  Is there a compelling need to introduce (and maintain) a
new command-line argument for this?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the openssh-unix-dev mailing list