28 lines
620 B
Django/Jinja
28 lines
620 B
Django/Jinja
# Managed by Ansible - do not edit manually
|
|
Include /etc/ssh/sshd_config.d/*.conf
|
|
Port {{ sshd_port }}
|
|
AddressFamily any
|
|
ListenAddress 0.0.0.0
|
|
ListenAddress ::
|
|
|
|
HostKey /etc/ssh/ssh_host_rsa_key
|
|
HostKey /etc/ssh/ssh_host_ecdsa_key
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
|
|
PermitRootLogin {{ sshd_permit_root }}
|
|
PubkeyAuthentication {{ sshd_pubkey_auth }}
|
|
PasswordAuthentication {{ sshd_password_auth }}
|
|
ChallengeResponseAuthentication no
|
|
UsePAM yes
|
|
|
|
X11Forwarding no
|
|
PrintMotd no
|
|
AcceptEnv LANG LC_*
|
|
|
|
MaxAuthTries 3
|
|
MaxSessions 10
|
|
ClientAliveInterval 300
|
|
ClientAliveCountMax 2
|
|
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|