From e63f07385f9c67395315fe029735fe32d9b16480 Mon Sep 17 00:00:00 2001 From: Jan Sydänviita Date: Tue, 18 Aug 2026 15:59:39 +0300 Subject: Add forge jail --- roles/jails/22_forge/templates/etc_ssh_sshd_config.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 roles/jails/22_forge/templates/etc_ssh_sshd_config.j2 (limited to 'roles/jails/22_forge/templates/etc_ssh_sshd_config.j2') 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 -- cgit v1.3