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 pass-phrase' and 'Confirm pass-phrase'. Next, Click 'Save public key' and 'Save private key' and Save keys with a file name you want.|
|||Open 'public_key' you saved with a text editor.|
|Remove first line and last line and replace 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 52: uncomment and change to 'no'
initctl restart ssh
ssh start/running, process 2140
|||Start Putty and select 'private_key' like follows.|
|||If All OK, connect to the server with keys authentication.|
|||Pass-phrase you set is required to input for login. After inputting the correct one, it's possible to login like below.|