Skip to content

Instantly share code, notes, and snippets.

@wingsryder
Created June 1, 2022 18:05
Show Gist options
  • Save wingsryder/aa24b6484bec2cdd469e1c98ac43a138 to your computer and use it in GitHub Desktop.
Save wingsryder/aa24b6484bec2cdd469e1c98ac43a138 to your computer and use it in GitHub Desktop.
SSH using .ppk file in ubuntu

Step 1: Install putty tools on Debian ubuntu sudo apt-get install putty-tools

Step 2: Convert ppk to pem using putty puttygen {ppkfilename}.ppk -O private-openssh -o {pemFileName}.pem

Step 3: change permission of pem file You need to change the permission of the file to 400 to use pem file. chmod 400 {pemFileName}.pem

Step 4: ssh connect using pem file ssh -i {pemFileName}.pem serverusername@server-ip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment