ssh-add -l like command in gpg

Sudhir Khanger sudhir at
Wed Sep 10 21:08:18 CEST 2014

On Wednesday, September 10, 2014 11:25:41 AM Werner Koch wrote:
> "ssh-add -l" is different in that it only tells you which keys are
> availabale but not which have a cached passphrase.  This is the same as
> running "gpg -K".

As long as ssh-add -l shows a ssh key, it doesn't ask for passphrase, at least 
that has been my experience. gpg -K shows list of secret keys which does ask 
for passphrase.

Sudhir Khanger,
Fingerprint: 49DD C204 6035 CD92 6949  3BFD EE67 D28C 9F14 497B

More information about the Gnupg-users mailing list