Passwordless SSH login

akash rao akash.rao.ind at gmail.com
Sat Feb 13 12:36:26 UTC 2021


nice to know it works :)

On 12/02/21 1:50 am, Bob wrote:
> ** Reply to message from Shamim Shahriar <shamim.shahriar at gmail.com> on Thu, 11
> Feb 2021 07:14:11 +0000
>
>> On Thu, 11 Feb 2021 at 05:19, Bob <ubuntu-qygzanxc at listemail.net> wrote:
>>
>>> ** 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.
>>> 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
>>
> Yes, that helps.  So far the little testing I have done shows it does what I
> wanted.
>
> Thank you very much.
>
> Now that ssh is somewhat secured the next thing is what other methods are there
> to login to Ubuntu over the internet?
>




More information about the ubuntu-users mailing list