Passwordless SSH login

akash rao akash.rao.ind at gmail.com
Sat Feb 13 12:37:58 UTC 2021


works for me too :)

On 11/02/21 12:44 pm, Shamim Shahriar wrote:
>
>
> On Thu, 11 Feb 2021 at 05:19, Bob <ubuntu-qygzanxc at listemail.net 
> <mailto:ubuntu-qygzanxc at listemail.net>> wrote:
>
>     ** Reply to message from "Bob" <ubuntu-qygzanxc at listemail.net
>     <mailto: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.
>     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.
>
>
> <snip>
>
> On top of what you have already done, on the server side, please put 
> this into your /etc/ssh/sshd_config file and RESTART the daemon
>
> AuthenticationMethods publickey
>
> once done, it will first ask for the public key and if that is not 
> presented by the client, will refuse to go any further (i.e., not 
> password question should be asked).
>
> Hope this helps
> Kind regards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210213/f2d20249/attachment.html>


More information about the ubuntu-users mailing list