Compare commits
2 Commits
31e618be9e
...
96893dff23
Author | SHA1 | Date | |
---|---|---|---|
96893dff23 | |||
707b581b88 |
@ -63,10 +63,6 @@ PasswordAuthentication no
|
|||||||
|
|
||||||
# Change to yes to enable challenge-response passwords (beware issues with
|
# Change to yes to enable challenge-response passwords (beware issues with
|
||||||
# some PAM modules and threads)
|
# some PAM modules and threads)
|
||||||
# FIXME! outdated/ replaced by KbdInteractiveAuthentication?
|
|
||||||
ChallengeResponseAuthentication no
|
|
||||||
|
|
||||||
# Change to no to disable s/key passwords
|
|
||||||
KbdInteractiveAuthentication no
|
KbdInteractiveAuthentication no
|
||||||
|
|
||||||
# Kerberos options
|
# Kerberos options
|
||||||
@ -86,7 +82,7 @@ KbdInteractiveAuthentication no
|
|||||||
# be allowed through the KbdInteractiveAuthentication and
|
# be allowed through the KbdInteractiveAuthentication and
|
||||||
# PasswordAuthentication. Depending on your PAM configuration,
|
# PasswordAuthentication. Depending on your PAM configuration,
|
||||||
# PAM authentication via KbdInteractiveAuthentication may bypass
|
# 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
|
# If you just want the PAM account and session checks to run without
|
||||||
# PAM authentication, then enable this but set PasswordAuthentication
|
# PAM authentication, then enable this but set PasswordAuthentication
|
||||||
# and KbdInteractiveAuthentication to 'no'.
|
# and KbdInteractiveAuthentication to 'no'.
|
||||||
@ -122,10 +118,10 @@ PrintMotd no # pam does that
|
|||||||
AcceptEnv LANG LC_*
|
AcceptEnv LANG LC_*
|
||||||
|
|
||||||
# override default of no subsystems
|
# override default of no subsystems
|
||||||
# DEACTIVATED because no need for sftp and differences between debian and arch
|
|
||||||
# debian
|
# debian
|
||||||
Subsystem sftp /usr/lib/openssh/sftp-server
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
# arch
|
# arch
|
||||||
|
# DEACTIVATED because no need for sftp and differences between debian and arch
|
||||||
# Subsystem sftp /usr/lib/ssh/sftp-server
|
# Subsystem sftp /usr/lib/ssh/sftp-server
|
||||||
|
|
||||||
# Example of overriding settings on a per-user basis
|
# Example of overriding settings on a per-user basis
|
||||||
|
Loading…
Reference in New Issue
Block a user