Passwordless SSH login
Bob
ubuntu-qygzanxc at listemail.net
Thu Feb 11 05:18:03 UTC 2021
** Reply to message from "Bob" <ubuntu-qygzanxc at listemail.net> on Wed, 10 Feb
2021 15:49:35 -0800
> I have set up SSH between two computers on my LAN and am trying to disable
> password login. SSH works between the computers. I can login using
> public/private keys. What I have not been able to do is disable the password
> login.
>
> The instructions I am using
> <https://www.linuxbabe.com/linux-server/setup-passwordless-ssh-login> says to
> edit /etc/ssh/sshd_config and change "PasswordAuthentication" from "yes" to
> "no" and change "ChallengeResponseAuthentication" to "no". That did not work
> as I can still SSH to the computer and login to the computer using the
> password.
>
> When I edit /etc/ssh/sshd_config "PasswordAuthentication" is commented out so I
> removed the comment and changed "yes" to "no".
> "ChallengeResponseAuthentication" was not on the config file so I added it.
> What else do I need to do?
I think this has gotten off on a tangent.
What I want is to prevent someone logging in the the computer using a password.
I only want to allow a login using an rsa key.
--
Robert Blair
A government big enough to give you everything you want, is strong enough to take everything you have. -- Thomas Jefferson
More information about the ubuntu-users
mailing list