Skip to content

Instantly share code, notes, and snippets.

@zxh
Created June 26, 2018 01:59
Show Gist options
  • Save zxh/4b591c0aa341874fa5c009f29f918703 to your computer and use it in GitHub Desktop.
Save zxh/4b591c0aa341874fa5c009f29f918703 to your computer and use it in GitHub Desktop.
generate .pem file
# Using ssh-keygen to export the key in the .pem format worked for me.
ssh-keygen -f id_rsa.pub -m 'PEM' -e > id_rsa.pem`
# Then simply copy the .pem key as necessary.
# For reference:
# the -f id_rsa.pub portion indicates the input file to read from
# -m 'PEM indicates a PEM filetype
# the -e option indicates that the output will be exported
@KiranGulzar
Copy link

,,,,,,,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment