aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/22_forge/templates/etc_ssh_sshd_config.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jails/22_forge/templates/etc_ssh_sshd_config.j2')
-rw-r--r--roles/jails/22_forge/templates/etc_ssh_sshd_config.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/jails/22_forge/templates/etc_ssh_sshd_config.j2 b/roles/jails/22_forge/templates/etc_ssh_sshd_config.j2
new file mode 100644
index 0000000..c99143c
--- /dev/null
+++ b/roles/jails/22_forge/templates/etc_ssh_sshd_config.j2
@@ -0,0 +1,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