summaryrefslogtreecommitdiff
path: root/sshd_config
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-04-24 23:36:52 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-06-04 19:39:17 +0200
commitac89b3c715fd3eddca7898e069ee04498c1a1ba2 (patch)
treeeb0294e645dd494ebe2b222292e6f8463d936277 /sshd_config
INITIAL COMMIT
Diffstat (limited to 'sshd_config')
-rw-r--r--sshd_config17
1 files changed, 17 insertions, 0 deletions
diff --git a/sshd_config b/sshd_config
new file mode 100644
index 0000000..3b5c369
--- /dev/null
+++ b/sshd_config
@@ -0,0 +1,17 @@
+Port 2222
+ListenAddress 0.0.0.0
+HostKey /run/git-host/secrets/ssh_host_ed25519_key
+HostKey /run/git-host/secrets/ssh_host_rsa_key
+PidFile /run/sshd/sshd.pid
+AuthorizedKeysFile /run/git-host/secrets/authorized_keys
+PasswordAuthentication no
+KbdInteractiveAuthentication no
+ChallengeResponseAuthentication no
+PermitRootLogin no
+PermitTunnel no
+AllowTcpForwarding no
+X11Forwarding no
+PermitTTY no
+PrintMotd no
+AllowUsers git
+Subsystem sftp internal-sftp