updated config

This commit is contained in:
fabian 2024-01-18 16:15:59 +01:00
parent 91d3d1d98d
commit 707b581b88

View File

@ -63,10 +63,6 @@ PasswordAuthentication no
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
# FIXME! outdated/ replaced by KbdInteractiveAuthentication?
ChallengeResponseAuthentication no
# Change to no to disable s/key passwords
KbdInteractiveAuthentication no
# Kerberos options
@ -86,7 +82,7 @@ KbdInteractiveAuthentication no
# be allowed through the KbdInteractiveAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via KbdInteractiveAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# the setting of "PermitRootLogin prohibit-password".
# 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'.
@ -122,10 +118,10 @@ PrintMotd no # pam does that
AcceptEnv LANG LC_*
# override default of no subsystems
# DEACTIVATED because no need for sftp and differences between debian and arch
# debian
Subsystem sftp /usr/lib/openssh/sftp-server
# arch
# DEACTIVATED because no need for sftp and differences between debian and arch
# Subsystem sftp /usr/lib/ssh/sftp-server
# Example of overriding settings on a per-user basis