Skip to content

Instantly share code, notes, and snippets.

@ilmir-k
Created June 19, 2018 09:06
Show Gist options
  • Save ilmir-k/b782198a0d65abacf35f3f562e7702ac to your computer and use it in GitHub Desktop.
Save ilmir-k/b782198a0d65abacf35f3f562e7702ac to your computer and use it in GitHub Desktop.
How to access server using ppk file
# Install putty-tools:
sudo apt-get install putty-tools
# Convert your .ppk file to .pem:
puttygen yourkey.ppk -O private-openssh -o yourkey.pem
# Set the proper permission to use the .pem file:
chmod 400 yourkey.pem
# Connect to your server using the command:
ssh -i yourkey.pem serverusername@server-ip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment