Skip to content

Instantly share code, notes, and snippets.

@blasterpal
Created December 11, 2012 14:36
Show Gist options
  • Save blasterpal/4259001 to your computer and use it in GitHub Desktop.
Save blasterpal/4259001 to your computer and use it in GitHub Desktop.
SSH - SSL Cheatsheet
1. Convert PEM into pub SSH key file:
ssh-keygen -e -f amazon-ec2-key.pem >> amazon-ec2-key.pem.pub
2. Generate a PEM from a SSH key:
openssl rsa -in my_tunneler -outform pem > my_tunneler.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment