diff options
| author | Jan Sydänviita <jan@sydanviita.fi> | 2026-08-18 15:59:39 +0300 |
|---|---|---|
| committer | Jan Sydänviita <jan@sydanviita.fi> | 2026-08-18 15:59:39 +0300 |
| commit | e63f07385f9c67395315fe029735fe32d9b16480 (patch) | |
| tree | bed59ff1d6ea7d959e618088e48e8785b2c9eadd /roles/jails/22_forge/templates/etc_ssh_sshd_config.j2 | |
| parent | 076581c53354b51dafc4d5dc7760f0c5ff03344a (diff) | |
Add forge jail
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.j2 | 18 |
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 |
