infra/playbooks/roles/common/files/sshd_config

22 lines
364 B
Plaintext
Raw Normal View History

2024-03-17 18:21:46 -04:00
Include /etc/ssh/sshd_config.d/*.conf
Port 22
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no
UsePAM yes
AllowAgentForwarding yes
X11Forwarding no
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
ClientAliveInterval 300
ClientAliveCountMax 1
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server