diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-07-31 19:52:48 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-07-31 19:52:48 -0700 |
commit | fa4807ca828ece7b1e724583b8f6ca6c0cc3bdcd (patch) | |
tree | 561ca03f8f260372d802c9e9a60fe1b917754ea5 | |
parent | 1bbaf7cc065ca7be1f5f2953f949eca771909c81 (diff) |
sshd_config use default `UsePAM yes`, otherwise systemctl --user will error
-rw-r--r-- | etc/ssh/sshd_config | 2 |
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 |