]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Use "prohibit-password" in -portable comments.
authorDarren Tucker <dtucker@dtucker.net>
Sat, 5 Nov 2022 23:55:59 +0000 (10:55 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 7 Nov 2022 00:01:30 +0000 (11:01 +1100)
"without-password" is the deprecated alias for "prohibit-password",
so we should reference the latter. From emaste at freebsd.org.

sshd_config

index c423eba1b2ab75f727bae6eb4a54cbe2f5fa4c93..36894ace503d24ea714606c3a6b4d2be0a096a94 100644 (file)
@@ -75,7 +75,7 @@ AuthorizedKeysFile    .ssh/authorized_keys
 # be allowed through the KbdInteractiveAuthentication and
 # PasswordAuthentication.  Depending on your PAM configuration,
 # PAM authentication via KbdInteractiveAuthentication may bypass
-# the setting of "PermitRootLogin without-password".
+# the setting of "PermitRootLogin prohibit-password".
 # If you just want the PAM account and session checks to run without
 # PAM authentication, then enable this but set PasswordAuthentication
 # and KbdInteractiveAuthentication to 'no'.