diff --git a/ssh-keygen b/ssh-keygen index c2e5288..eb0d04a 100644 --- a/ssh-keygen +++ b/ssh-keygen @@ -30,3 +30,7 @@ ssh-keygen -E md5 -lf # To download resident keys from a FIDO2 authenticator to the current directory: ssh-keygen -K + +# To view the public key associated with a private key: +ssh-keygen -y -f > +ssh-keygen -y -f ~/.ssh/private-key > ~/.ssh/public-key.pub