Make sure you have installed:
Install putty using:
sudo apt-get install putty
Generate rsa keys and place them in your .ssh folder.
AFAIK, the files under .ssh show have below permissions.
-rwx------ 1 root root 1675 2011-03-31 12:31 id_rsa
-rw-r--r-- 1 root root 402 2011-03-31 12:31 id_rsa.pub
sudo apt-get install openssh-server openssh-client
Install putty using:
sudo apt-get install putty
Generate rsa keys and place them in your .ssh folder.
- Create the public key file:
puttygen /path/to/puttykey.ppk -L > ~/.ssh/id_rsa.pub
- Create the private key file:
puttygen /path/to/puttykey.ppk -O private-openssh -o ~/.ssh/id_rsa
Now you are able to ssh and scp to that server.
If you have .pem file and want to convert it into .ppk file use the below:
puttygen ec2-democrasoft.pem -O private -o ec2-democrasoft.ppkAFAIK, the files under .ssh show have below permissions.
-rwx------ 1 root root 1675 2011-03-31 12:31 id_rsa
-rw-r--r-- 1 root root 402 2011-03-31 12:31 id_rsa.pub
No comments:
Post a Comment