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

Roumen Petrov openssh at
Fri Apr 8 05:11:06 EST 2011

Konrad Bucheli wrote:
> 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.
What is rationale  to write 100 lines of C-code instead 1 line in shell 
script ?

> 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?
> Cheers
> Konrad


Get X.509 certificates support in OpenSSH:

More information about the openssh-unix-dev mailing list