Created
June 19, 2018 09:06
-
-
Save ilmir-k/b782198a0d65abacf35f3f562e7702ac to your computer and use it in GitHub Desktop.
How to access server using ppk file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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