mirror of
https://github.com/fscotto/infra.git
synced 2026-09-28 03:03:49 +00:00
25 lines
614 B
Django/Jinja
25 lines
614 B
Django/Jinja
# Managed by Ansible. Do not edit manually.
|
|
PermitRootLogin no
|
|
PubkeyAuthentication yes
|
|
PasswordAuthentication no
|
|
KbdInteractiveAuthentication no
|
|
AuthenticationMethods publickey
|
|
AuthorizedKeysFile {{
|
|
atlas_admin_ssh_keys
|
|
| map(attribute='name')
|
|
| map('regex_replace', '^', '%h/.ssh/authorized_keys.d/')
|
|
| join(' ')
|
|
}}
|
|
X11Forwarding no
|
|
AllowTcpForwarding {{ atlas_ssh_allow_tcp_forwarding }}
|
|
AllowAgentForwarding no
|
|
GatewayPorts no
|
|
PermitTunnel no
|
|
PermitUserEnvironment no
|
|
MaxAuthTries 3
|
|
LoginGraceTime 30
|
|
ClientAliveInterval 300
|
|
ClientAliveCountMax 2
|
|
LogLevel VERBOSE
|
|
AllowUsers {{ atlas_admin_username }}
|