So I use windows and so when I first setup my server I had a pem key that I converted into a PPK using puttyGen. Now I no longer have the pem and need to access the server from a mac which uses .pem files. Is there any way to extract the .pem from the .ppk file OR is there anyway to download a new .pem file once I am on the server via the ppk. Thanks for any info
Asked
Active
Viewed 1,309 times
1 Answers
1
- Copy the putty key to your mac
- Install Homebrew (if not installed)
Install putty command-line on your mac
brew install putty
Extract your private key
puttygen id_dsa.ppk -O private-openssh -o id_dsa
Extract your public key
puttygen id_dsa.ppk -O public-openssh -o id_dsa.pub
Move the extracted keys to your $HOME/.ssh
Wellington Souza
- 145
- 6