SSH authentication using OpenPGP 2.0 smartcard

Werner Koch wk at
Tue Jan 25 20:39:28 CET 2011

On Tue, 25 Jan 2011 18:39, kgo at said:

> Actually, I also needed to run 'gpgkey2ssh 0xDEADBEEF >>
> ~/.ssh/authorized_keys" so I could ssh into the box as well.

You should use

  ssh-add -L

which gives you the public key.  The comment field has the card number.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list