Identifying one of multiple authentication subkeys

Wolfgang Traylor wolfgang.traylor at posteo.de
Sat Mar 16 11:11:34 CET 2019


> I am unsure how to identify which subkey is which SSH key.
You can export your GPG subkey for SSH and compare with the `ssh-add -L` output:

$ gpg2 --export-ssh-key <subkey ID>

This gives you the SSH-formatted subkey which will match one of your lines from `ssh-add -L`.
Note that the comments (anything after the first whitespace in each line) might be different. So compare only up to the first whitespace.

Best regards,
W. Traylor



More information about the Gnupg-users mailing list