Step 1: Go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and download puttygen.exe
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx7nJkUCN_-sw9pF6nLrfrgEC9vnN_pugBHMba2dr1s-6j-b2xA0KZ8QkfzrrbKy36EcxJA4bKnu6iz4X7Y8WftldxU5QJgTVTeViB9ysfkHuugwMsn7vomhZTnifllEotP1Uiw_XzhLg/s320/PuttyGen1.jpg)
Step 2: Open PuttyGen.exe,
- Click Generate
- To provide randomness, move the mouse randomly on the blank are
Step 3:
- Copy public-key by copying all the text in the public text-box
Step 4: Open Putty
- Connection > Data.
- Under ‘
’ for the auto-login username - Connection > SSH > Auth (left column) > Browse to the private key
- Save the setting
Step 5: Login to the linux server
- vim ~/.ssh/authorized_keys2
- Paste and save the public Key content saved in Step 3
- chmod 700 ~/.ssh
- chmod 644 ~/.ssh/authorized_keys2
Articles:
No comments:
Post a Comment