new option ssh-add -v to verify if key is loaded into the agent
keisial at gmail.com
Sun Apr 10 09:41:27 EST 2011
Roumen Petrov wrote:
> 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 ?
I suspect that when you start trying to take all quirks into account,
the C code will be much easier.
More information about the openssh-unix-dev