aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/22_forge/templates/etc_ssh_sshd_config.j2
blob: c99143cb03360d8c628137767df24e0b06127729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Port 22
AddressFamily any
ListenAddress 0.0.0.0

HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key

PermitRootLogin no
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no

AllowUsers git

UseDNS no
PrintMotd no