]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ssh: update sshd_config for prohibit-password option
authorEd Maste <emaste@FreeBSD.org>
Tue, 10 May 2022 14:08:21 +0000 (10:08 -0400)
committerEd Maste <emaste@FreeBSD.org>
Thu, 19 May 2022 11:36:10 +0000 (07:36 -0400)
commit20feb7838da56a9ddef83042133a89ded8ee5b13
treef8d334ac3faf3a60a5035804fa1c42c6b4f23df1
parent9132c793cb014e321c92ed502d20df4426492562
ssh: update sshd_config for prohibit-password option

The PermitRootLogin option "prohibit-password" was added as a synonym
for "without-password" in 2015.  Then in 2017 these were swapped:
"prohibit-password" became the canonical option and "without-password"
became a deprecated synonym (in OpenSSH commit 071325f458).

The UsePAM description in sshd_config still mentioned
"without-password."  Update it to match the new canonical option.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

(cherry picked from commit 0e12eb7b58ae29ccf52571e82af99c3a3a04b399)
crypto/openssh/sshd_config