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.
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.
next, copy our public key to the server that we want to access. we will use ssh-copy-id command.
we are done. you can ssh into your server without using password.
ssh root@192.168.0.207
PM me if u encounter any error along the way.
Here are example where u login using password. i want to access to my server ip which is 192.168.0.107.
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.
next, copy our public key to the server that we want to access. we will use ssh-copy-id command.
we are done. you can ssh into your server without using password.
ssh root@192.168.0.207
PM me if u encounter any error along the way.
Comments
Post a Comment