2016-05-30 03:36:18 +02:00
|
|
|
# HG changeset patch
|
2016-09-30 22:34:19 +02:00
|
|
|
# Parent a51f9cba48652fc5df45b9ac8bd238268c70673c
|
2013-09-19 06:09:33 +02:00
|
|
|
# force PAM in defaullt install (this was removed from upstream in 3.8p1)
|
|
|
|
# bnc#46749
|
2016-07-07 09:07:23 +02:00
|
|
|
# --used to be called '-pam-fix2'
|
2013-09-19 06:09:33 +02:00
|
|
|
|
2016-05-30 03:36:18 +02:00
|
|
|
diff --git a/openssh-7.2p2/sshd_config b/openssh-7.2p2/sshd_config
|
|
|
|
--- a/openssh-7.2p2/sshd_config
|
|
|
|
+++ b/openssh-7.2p2/sshd_config
|
2014-02-14 15:54:10 +01:00
|
|
|
@@ -64,17 +64,17 @@ AuthorizedKeysFile .ssh/authorized_keys
|
2013-09-19 06:09:33 +02:00
|
|
|
#HostbasedAuthentication no
|
|
|
|
# Change to yes if you don't trust ~/.ssh/known_hosts for
|
|
|
|
# RhostsRSAAuthentication and HostbasedAuthentication
|
|
|
|
#IgnoreUserKnownHosts no
|
|
|
|
# Don't read the user's ~/.rhosts and ~/.shosts files
|
|
|
|
#IgnoreRhosts yes
|
|
|
|
|
|
|
|
# To disable tunneled clear text passwords, change to no here!
|
|
|
|
-#PasswordAuthentication yes
|
|
|
|
+PasswordAuthentication no
|
|
|
|
#PermitEmptyPasswords no
|
|
|
|
|
|
|
|
# Change to no to disable s/key passwords
|
|
|
|
#ChallengeResponseAuthentication yes
|
|
|
|
|
|
|
|
# Kerberos options
|
|
|
|
#KerberosAuthentication no
|
|
|
|
#KerberosOrLocalPasswd yes
|
2014-02-14 15:54:10 +01:00
|
|
|
@@ -89,17 +89,17 @@ AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
# and session processing. If this is enabled, PAM authentication will
|
2013-09-19 06:09:33 +02:00
|
|
|
# be allowed through the ChallengeResponseAuthentication and
|
|
|
|
# PasswordAuthentication. Depending on your PAM configuration,
|
|
|
|
# PAM authentication via ChallengeResponseAuthentication may bypass
|
|
|
|
# the setting of "PermitRootLogin without-password".
|
|
|
|
# If you just want the PAM account and session checks to run without
|
|
|
|
# PAM authentication, then enable this but set PasswordAuthentication
|
|
|
|
# and ChallengeResponseAuthentication to 'no'.
|
|
|
|
-#UsePAM no
|
|
|
|
+UsePAM yes
|
|
|
|
|
|
|
|
#AllowAgentForwarding yes
|
|
|
|
#AllowTcpForwarding yes
|
|
|
|
#GatewayPorts no
|
|
|
|
X11Forwarding yes
|
|
|
|
#X11DisplayOffset 10
|
|
|
|
#X11UseLocalhost yes
|
2014-02-14 15:54:10 +01:00
|
|
|
#PermitTTY yes
|