summaryrefslogtreecommitdiff
path: root/etc/ssh/sshd_config
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-07-31 19:52:48 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-07-31 19:52:48 -0700
commitfa4807ca828ece7b1e724583b8f6ca6c0cc3bdcd (patch)
tree561ca03f8f260372d802c9e9a60fe1b917754ea5 /etc/ssh/sshd_config
parent1bbaf7cc065ca7be1f5f2953f949eca771909c81 (diff)
sshd_config use default `UsePAM yes`, otherwise systemctl --user will error
Diffstat (limited to 'etc/ssh/sshd_config')
-rw-r--r--etc/ssh/sshd_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config
index f9a5dd48..fb66c21d 100644
--- a/etc/ssh/sshd_config
+++ b/etc/ssh/sshd_config
@@ -79,7 +79,7 @@ KbdInteractiveAuthentication no
# 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
#AllowAgentForwarding yes
#AllowTcpForwarding yes