How can we check the passphrase of a private key?
Is it possible to do that using the following command:
ssh-keygen -y
- If the input is the correct passphrase, it will show you the associated public key.
- the wrong passphrase, it will display load failed.
- If the key has no passphrase, it will not prompt you for a passphrase and will immediately show you the associated public key.