<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>works for me too :)<br>
</p>
<div class="moz-cite-prefix">On 11/02/21 12:44 pm, Shamim Shahriar
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOyJeZTgykm=yfs4drh9W3swysZYMWyRZaOWTb3XyZh2xfagDg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 11 Feb 2021 at
05:19, Bob <<a
href="mailto:ubuntu-qygzanxc@listemail.net"
moz-do-not-send="true">ubuntu-qygzanxc@listemail.net</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">** Reply to message
from "Bob" <<a
href="mailto:ubuntu-qygzanxc@listemail.net"
target="_blank" moz-do-not-send="true">ubuntu-qygzanxc@listemail.net</a>>
on Wed, 10 Feb<br>
2021 15:49:35 -0800<br>
<br>
> I have set up SSH between two computers on my LAN
and am trying to disable<br>
> password login. SSH works between the computers.
I can login using<br>
> public/private keys. What I have not been able to
do is disable the password<br>
> login.<br>
I think this has gotten off on a tangent.<br>
<br>
What I want is to prevent someone logging in the the
computer using a password.<br>
<br>
I only want to allow a login using an rsa key.<br>
</blockquote>
<div><br>
</div>
<div><snip> </div>
<div><br>
</div>
<div>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</div>
<div><br>
</div>
<div>AuthenticationMethods publickey<br>
</div>
<div><br>
</div>
<div>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).</div>
<div><br>
</div>
<div>Hope this helps</div>
<div>Kind regards</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
</body>
</html>