How to login to your linux machine without password

We will use ssh key to enable passwordless login.
Here are example where u login using password. i want to access to my server ip which is 192.168.0.107.
Selection_004
i dont want to insert password to login for my convenience. another reason for passwordless login is because some application do not support password authentication.
first. we need to generate our key. there are 2 type of key that will be generated. private and public key.
Selection_005
next, copy our public key to the server that we want to access. we will use ssh-copy-id command.
Selection_008
we are done. you can ssh into your server without using password.
ssh root@192.168.0.207
Selection_009
PM me if u encounter any error along the way.

Comments