Configure SSH server to login with Keys Authentication. It is needed for it to make private key for client and public key for server.
|||Start 'puttygen.exe' and click 'Generate' button.|
|||Move mouse untill progress bar will be full.|
|||Set passphrase in 'Key passphrase' and 'Confirm passphrase'. Next, Click 'Save public key' and 'Save private key' and Save keys with a file name you want.|
|||Open 'public_key' you saved.|
|Remove the first line and last line and replace the second line to 'ssh-rsa' and then remove all indention like follows.
|||Login with a user and put 'public_key'.|
chmod 700 .ssh
# Copy and Paste 'public_key'
chmod 600 authorized_keys
# line 60: Change to no
[ OK ]
[ OK ]
|||Start Putty and select 'private_key' like follows.|
|||If All OK, connect to the server with keys authentication.|
|||The Passphrase you set is required for login. After successing, it's possible to login like follows.|