summaryrefslogtreecommitdiff
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:54:31 -0700
commite741ba27e7fac9e2c83dc754d9cf01dc00846d83 (patch)
tree1edd3a43ee43cc83a952a0c451c31c14600e4143
parent6a1ab98aa9e553e2197669a3382da835a84569de (diff)
sshd_config use default `UsePAM yes`, otherwise systemctl --user will error
-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