Created
July 5, 2018 04:29
-
-
Save Max-AR/0c63216e84a0a718cc0308d75b71b2c5 to your computer and use it in GitHub Desktop.
Check fingerprint of AWS key pair on CLI without aws cli (Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
openssl pkcs8 -in ~/.ssh/your_key.pem -nocrypt -topk8 -outform DER | openssl sha1 -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment