![Putty For Mac Ppk Putty For Mac Ppk](/uploads/1/2/5/6/125613891/254341470.png)
PPK files as well as the Putty software that created them can be opened on Windows, UNIX and MAC systems. How to open a.ppk file? Launch a.ppk file, or any other file on your PC, by double-clicking it.
.ppk is a file format used by Windows program PuTTYgen. You can try the following procedure on StackOverflow: puttygen supports exporting your private key to an OpenSSH compatible format. You can then use OpenSSH tools to recreate the public key. Open PuttyGen. Click Load. Load your private key.
![Putty Putty](/uploads/1/2/5/6/125613891/690023900.jpg)
Go to Conversions-Export OpenSSH and export your private key. Copy your private key to /.ssh/iddsa (or idrsa).
Create the RFC 4716 version of the public key using ssh-keygen ssh-keygen -e -f /.ssh/iddsa /.ssh/iddsacom.pub. Convert the RFC 4716 version of the public key to the OpenSSH format: ssh-keygen -i -f /.ssh/iddsacom.pub /.ssh/iddsa.pub.
If you only have.ppk file then it would be useful to create a.pem file and then connect to your server using that. In you Ubuntu computer, install putty-tools with the following command: sudo apt-get install putty-tools Now convert your.ppk file to.pem using the following command: puttygen yourkey.ppk -O private-openssh -o yourkey.pem Set the proper permission to use the.pem file with following command: chmod 400 yourkey.pem Now connect to your server using the below command: ssh -i yourkey.pem serverusername@server-ip Hope it helps.