Last active
          July 19, 2019 09:03 
        
      - 
      
 - 
        
Save ferrao/13c5fa5f956277a903fc3393aebba79e to your computer and use it in GitHub Desktop.  
    AWS Key Pair verification
  
        
  
    
      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
    
  
  
    
  | # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#verify-key-pair-fingerprints | |
| openssl rsa -in ~/.ssh/privatekey -pubout -outform DER | openssl md5 -c | |
| openssl pkcs8 -in path_to_private_key -inform PEM -outform DER -topk8 -nocrypt | openssl sha1 -c | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment