Bug#1095922: openssh-server: sshd -T still show a deprecated alias: without-password

Colin Watson <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <Z65zYroXIem1PlZE__12660.0793142401$1739486369$gmane$org@riva.ucam.org>
Control: forwarded -1 https://bugzilla.mindrot.org/show_bug.cgi?id=3788

On Thu, Feb 13, 2025 at 09:03:46PM +0100, Patrice Duroux wrote:
> Currently, here is what sshd says on my system:
> 
> $ grep -i root /etc/ssh/sshd_config ; echo "---" ; sshd -V ; sshd -T | grep -i
> root
> #PermitRootLogin prohibit-password
> # the setting of "PermitRootLogin prohibit-password".
> #ChrootDirectory none
> ---
> OpenSSH_9.9p1 Debian-3, OpenSSL 3.4.1 11 Feb 2025
> permitrootlogin without-password
> chrootdirectory none
> 
> Regarding https://man.openbsd.org/sshd_config#PermitRootLogin, the default is:
> prohibit-password
> and not its deprecated alias:
> without-password
> 
> Could this be an oversight?

Thanks for the report.  I forwarded this upstream as
https://bugzilla.mindrot.org/show_bug.cgi?id=3788, including a patch.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.