SHARE
TWEET

Untitled

a guest Mar 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Step 1 – First of all, install the putty tools on your Linux system using below command.
  2. $ sudo apt-get install putty-tools
  3. Step 2 – Now, convert the ppk file to pem file using puttygen command line tool.
  4. $ puttygen server1.ppk -O private-openssh -o server1.pem
  5. Step 3 – Change the .pem file permissions. Set the read-only permissions to the owner of the file, remove any permission to group and other. Other wise ssh will refuse this key for use.
  6. $ chmod 400 server1.pem
  7. Step 4 – Finally, connect to your remote Linux server with ssh using this pem key.
  8. $ ssh -i server1.pem ubuntu@11.22.33.44
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top