Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save YourFriendCaspian/e93938b4f6852f38efcf7ac1c0b0b66d to your computer and use it in GitHub Desktop.
Save YourFriendCaspian/e93938b4f6852f38efcf7ac1c0b0b66d 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