Created
July 18, 2018 18:28
-
-
Save rms1000watt/5329ffa8ab563677f442be6f15569632 to your computer and use it in GitHub Desktop.
Validate Private Key Upload to AWS EC2 Keypairs
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html | |
| openssl rsa -in KEY_NAME.pem -pubout -outform DER | openssl md5 -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment