verify-ssh-passphrase
Verify SSH passphrase/Show associated public key of the private key
ssh-keygen -y -f <private_key>
ssh-keygen -y -f ~/.ssh/id_rsa
The associated public key will be shown if the entered passphrase is correct.
References
Last updated
Was this helpful?