yes!

> Sent: Sunday, January 05, 2020 at 3:00 PM
> From: "Robert Klein" <[email protected]>
> To: [email protected]
> Subject: Re: sshd_config#PermitRootLogin typo
>
> On Sun, 5 Jan 2020 14:47:15 +0100
> "lu hu" <[email protected]> wrote:
> 
> > Hello,
> > 
> > http://man.openbsd.org/sshd_config#PermitRootLogin
> > says
> > ...The default is prohibit-password.
> > If this option is set to prohibit-password (or its deprecated alias,
> > without-password), password and keyboard-interactive authentication
> > are disabled for root.
> > 
> > SO:
> > 
> > if I remove the PermitRootLogin line from sshd_config, then rcctl
> > restart sshd, then why can I see
> > 
> > 66# sshd -T|grep -i permitr
> > permitrootlogin yes
> > 66#
> > 
> > instead of prohibit-password ?
> > 
> > Thanks!
> > 
> 
> Was the deleted one the only “PermitRootLogin” line in your
> /etc/ssh/sshd_config? 
> 
>

Reply via email to