Thanks, Ingo!
Looking at my log, I realize that I indeed uploaded the primary key when
I did `keytocard`. I did not do `key 2` to select the authentication sub
key. Instead I was assuming that GnuPG does automatically select the
right sub key. There was a warning about moving the primary key, whic
Thanks for pointing out that the signature key and the authentication
keys are identical:
$ gpg --card-status
[…]
Signature key : 7A0F E73D DB74 4F0F 9734 1DA7 1BE3 49D1 1B6E
D589
created : 2023-06-29 03:50:43
Encryption key: DBBD 3239 D0F1 4326 808D FC8
On Tue, Nov 21, 2023 at 12:38 AM Ingo Klöcker wrote:
> $ gpg --export-ssh-key 1B6ED589
Thanks, this worked! I then added the key on the remote system to:
~/.ssh/authorized_keys
However, I could not log in. SSH reports:
Permission denied (publickey).
I then tried exporting the key usi