Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

convert .pem to .ppk on macos

There are lots of SO posts on this topic but most of them are for Windows and use the GUI. All others posts seem to use the CLI.

Is there a GUI version of puttygen on MacOS/Linux and if so instructions on how to install/use? The CLI seems to give me an error.

Usage: puttygen ( keyfile | -t type [ -b bits ] )
                [ -C comment ] [ -P ] [ -q ]
                [ -o output-keyfile ] [ -O type | -l | -L | -p ]


>puttygen mykey.pem -t rsa -b 2048 -o mykey.ppk
puttygen: cannot both load and generate a key

Is there something wrong with my commands?

like image 758
codingknob Avatar asked May 17 '16 21:05

codingknob


1 Answers

AFAIK, there is no GUI for putty versions of OSX.

You can simply convert your key like this: puttygen mykey.pem -o mykey.ppk

like image 195
smaftoul Avatar answered Oct 17 '22 21:10

smaftoul