Mailinglist Archive: opensuse (1277 mails)

< Previous Next >
Re: [opensuse] sshd question
On 2016-12-02 07:31, Per Jessen wrote:
Carlos E. R. wrote:

Hi,

I want to force one particular machine to not be accessible via ssh
using password, but only using key pairs (dsa or publickey).

Is this enough (in /etc/sshd_config):

ChallengeResponseAuthentication no

or should I also add:

PasswordAuthenitication no

Both of those.

Thanks.
I thought so, but wasn't sure. And I could not locate the variable in
the config file because I mistyped it!

It is "no" by default, at least on openSUSE42.2.


--
Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)

< Previous Next >
Follow Ups