Files
public/sshd_config
T

30 lines
552 B
Plaintext
Raw Normal View History

2021-12-07 14:43:09 +01:00
# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
Include /etc/ssh/sshd_config.d/*.conf
Port 34022
# Authentication:
LoginGraceTime 60
PermitRootLogin no
2026-03-11 11:21:11 +00:00
MaxAuthTries 4
MaxSessions 10
2021-12-07 14:43:09 +01:00
2026-03-11 11:21:11 +00:00
PubkeyAuthentication yes
2021-12-07 14:43:09 +01:00
2026-03-11 11:21:11 +00:00
# Disable all password-based auth
2021-12-07 14:43:09 +01:00
PasswordAuthentication no
PermitEmptyPasswords no
2026-03-11 11:21:11 +00:00
KbdInteractiveAuthentication no
2021-12-07 14:43:09 +01:00
UsePAM yes
X11Forwarding no
PrintMotd no
AcceptEnv LANG LC_*
2026-03-11 11:21:11 +00:00
Subsystem sftp /usr/lib/openssh/sftp-server