aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable/files/patch-sshd_config
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh-portable/files/patch-sshd_config')
-rw-r--r--security/openssh-portable/files/patch-sshd_config35
1 files changed, 6 insertions, 29 deletions
diff --git a/security/openssh-portable/files/patch-sshd_config b/security/openssh-portable/files/patch-sshd_config
index b582ac8f3691..c19496486f4f 100644
--- a/security/openssh-portable/files/patch-sshd_config
+++ b/security/openssh-portable/files/patch-sshd_config
@@ -1,5 +1,8 @@
---- sshd_config.orig 2021-08-19 21:03:49.000000000 -0700
-+++ sshd_config 2021-09-07 12:34:49.372652000 -0700
+!!!
+!!! Note files/extra-patch-pam-sshd_config contains more changes for default PAM option.
+!!!
+--- sshd_config.orig 2022-02-11 18:49:55.062881000 +0000
++++ sshd_config 2022-02-11 18:52:31.639435000 +0000
@@ -10,6 +10,9 @@
# possible, but leave them commented. Uncommented options override the
# default value.
@@ -20,33 +23,7 @@
#AuthorizedPrincipalsFile none
-@@ -53,8 +55,8 @@ AuthorizedKeysFile .ssh/authorized_keys
- # Don't read the user's ~/.rhosts and ~/.shosts files
- #IgnoreRhosts yes
-
--# To disable tunneled clear text passwords, change to no here!
--#PasswordAuthentication yes
-+# To enable tunneled clear text passwords, change to yes here!
-+#PasswordAuthentication no
- #PermitEmptyPasswords no
-
- # Change to no to disable s/key passwords
-@@ -70,7 +72,7 @@ AuthorizedKeysFile .ssh/authorized_keys
- #GSSAPIAuthentication no
- #GSSAPICleanupCredentials yes
-
--# Set this to 'yes' to enable PAM authentication, account processing,
-+# Set this to 'no' to disable PAM authentication, account processing,
- # and session processing. If this is enabled, PAM authentication will
- # be allowed through the KbdInteractiveAuthentication and
- # PasswordAuthentication. Depending on your PAM configuration,
-@@ -79,12 +81,12 @@ AuthorizedKeysFile .ssh/authorized_keys
- # 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'.
--#UsePAM no
-+#UsePAM yes
-
+@@ -84,7 +86,7 @@
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no