Skip to content

Instantly share code, notes, and snippets.

@Max-AR
Created July 5, 2018 04:29
Show Gist options
  • Save Max-AR/0c63216e84a0a718cc0308d75b71b2c5 to your computer and use it in GitHub Desktop.
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)
#!/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