Skip to content

Commit

Permalink
Update Securing_SSH_with_FIDO2.adoc
Browse files Browse the repository at this point in the history
update troubleshooting
  • Loading branch information
elukewalker authored Jun 18, 2024
1 parent e446bb8 commit 96d3d21
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions content/SSH/Securing_SSH_with_FIDO2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -226,23 +226,19 @@ ssh -vvv user@host
chmod 600 ~/.ssh/id_ed25519_sk
----

*Verify the FIDO2 credential on security key*
*Unsure which security key holds the credential*

Regenerate key files from the security key and compare public keys.

. Open a terminal and use:
+
[source,sh]
----
ykman fido credentials list
ssh-keygen -K
----
+
. Enter the PIN.
. Verify Credential ID
+
[source,sh]
----
Credential ID RP ID Username Display name
7b68340b.... ssh: openssh openssh
----
. Enter the PIN and touch the key when prompted.
. Compare the newly generated public key to the public key in question


== Further Reading
Expand Down

0 comments on commit 96d3d21

Please sign in to comment.