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

Konrad Bucheli kb at
Thu Apr 7 17:12:08 EST 2011

Dear openssh developers

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.

The patch bases on openssh v5.8p1. The regression test was
extended to test this new feature.

Is there any chance for inclusion of attached patch?



konrad bucheli
security engineer

open systems ag
raeffelstrasse 29
ch-8045 zurich

t: +41 44 455 74 00
f: +41 44 455 74 01
kb at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-5.8p1-sshadd-verify.patch
Type: text/x-patch
Size: 9028 bytes
Desc: not available
URL: <>

More information about the openssh-unix-dev mailing list