Skip to content

Instantly share code, notes, and snippets.

@mrsinguyen
Created May 4, 2020 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrsinguyen/ab98c338587814507c897552cafd979d to your computer and use it in GitHub Desktop.
Save mrsinguyen/ab98c338587814507c897552cafd979d to your computer and use it in GitHub Desktop.
Convert SSH key to pem
# Generate the ssh key
ssh-keygen -t rsa -b 4096 -f /tmp/key
# Convert it to a PEM file
ssh-keygen -p -m PEM -f /tmp/key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment