Created
April 5, 2020 19:31
-
-
Save xcsrz/3e0cbf652a0f95896d7cabd0ddc42c62 to your computer and use it in GitHub Desktop.
This one command is so hard to track down every 3 years when I need it. So many posts incorrectly insist the private key is in PEM format already. In truth, it depends on how the key pair was created (openssl vs ssh-keygen).
This file contains 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
# NOTE: this updates the file in place, do you have a backup? | |
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment