mirror of
https://gitea.invidious.io/iv-org/infrastructure.git
synced 2024-08-15 00:53:31 +00:00
29 lines
661 B
Django/Jinja
29 lines
661 B
Django/Jinja
Protocol 2
|
|
Port {{ ansible_port }}
|
|
ListenAddress {{ ansible_default_ipv4.address }}
|
|
{% if ansible_default_ipv6.address is defined %}
|
|
ListenAddress {{ ansible_default_ipv6.address }}
|
|
{% endif %}
|
|
|
|
HostKey /etc/ssh/ssh_host_rsa_key
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
|
|
PermitRootLogin without-password
|
|
StrictModes yes
|
|
MaxAuthTries 2
|
|
AllowUsers root
|
|
|
|
PubkeyAuthentication yes
|
|
AuthenticationMethods publickey
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
PasswordAuthentication no
|
|
PermitEmptyPasswords no
|
|
|
|
IgnoreRhosts yes
|
|
UsePAM yes
|
|
ChallengeResponseAuthentication no
|
|
PrintMotd no
|
|
X11Forwarding no
|
|
AllowTcpForwarding no
|
|
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|