system-configs/etc/ssh/sshd_config

22 lines
574 B
Text

Include /etc/ssh/sshd_config.d/*.conf
Port 25422
AcceptEnv LANG LC_*
GSSAPICleanupCredentials yes
GSSAPIStrictAcceptorCheck yes
LoginGraceTime 30
MaxStartups 5
PermitRootLogin prohibit-password
StreamLocalBindUnlink yes
Subsystem sftp internal-sftp
UsePAM yes
X11Forwarding no
Match Group "SLACKWAREUKINT\systems' admins"
AuthenticationMethods publickey
#,password publickey,keyboard-interactive
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
AuthorizedKeysCommandUser root
GSSAPIAuthentication yes
PAMServiceName sshd-sysadmins