summaryrefslogtreecommitdiff
path: root/sshd_config
diff options
context:
space:
mode:
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