SSH Passwordless Authentication
Contents
SSH login without password?
Yeah you heard it right. Today I’m going to teach you how you can enable passwordless authentication in ssh.
You can login to your linux servers without password. How? Keep reading…
Edit the SSH main configuration file.
|
|
Edit this line. If you see no
, change it to yes
. If this line is commented out, uncomment it.
Restart ssh.
|
|
In local client, create a new ssh key if you don’t have one.
|
|
Hit enter to all questions.
Now copy your public key and upload it to your server’s user’s home directory’s .ssh directory.
|
|
Now you can login to your server without even asking for a password.
Here is a YouTube demonstration video.
Thanks for reading.