Created
January 24, 2018 18:24
-
-
Save raul-carvalho/cb0c42b22b020097289701ee1e9a40bc to your computer and use it in GitHub Desktop.
PPK to PEM MAC
This file contains hidden or 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
#You can also convert the key using putty for Mac via port or brew | |
sudo port install putty | |
#or | |
brew install putty | |
#This will also install puttygen. To get puttygen to output a .PEM file: | |
puttygen privatekey.ppk -O private-openssh -o privatekey.pem | |
#Once you have the key, open a terminal window and: | |
ssh -i privatekey.pem user@my.server.com | |
#The private key must have tight security settings otherwise SSH complains. Make sure only the user can read the key. | |
chmod go-rw privatekey.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment