[PATCH] sshd_config.5: correct PasswordAuthentication default

Ed Maste emaste at FreeBSD.org
Tue Jul 2 00:29:00 AEST 2024


The default is still "yes", not "sshd".

Fixes: b2c64bc170d7 ("add a sshd_config PamServiceName option")
Signed-off-by: Ed Maste <emaste at FreeBSD.org>
---
 sshd_config.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sshd_config.5 b/sshd_config.5
index 1ab0f41d9..94da22387 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -1384,7 +1384,7 @@ The default is
 .It Cm PasswordAuthentication
 Specifies whether password authentication is allowed.
 The default is
-.Cm sshd .
+.Cm yes .
 .It Cm PermitEmptyPasswords
 When password authentication is allowed, it specifies whether the
 server allows login to accounts with empty password strings.
-- 
2.44.0



More information about the openssh-unix-dev mailing list