summaryrefslogtreecommitdiffstats
path: root/docker/sshd_config
diff options
context:
space:
mode:
Diffstat (limited to 'docker/sshd_config')
-rw-r--r--docker/sshd_config17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/sshd_config b/docker/sshd_config
new file mode 100644
index 0000000000..9b62f1486a
--- /dev/null
+++ b/docker/sshd_config
@@ -0,0 +1,17 @@
+Port 22
+AddressFamily any
+ListenAddress 0.0.0.0
+ListenAddress ::
+Protocol 2
+LogLevel INFO
+HostKey /data/ssh/ssh_host_key
+HostKey /data/ssh/ssh_host_rsa_key
+HostKey /data/ssh/ssh_host_dsa_key
+HostKey /data/ssh/ssh_host_ecdsa_key
+HostKey /data/ssh/ssh_host_ed25519_key
+PermitRootLogin no
+AuthorizedKeysFile .ssh/authorized_keys
+PasswordAuthentication no
+UsePrivilegeSeparation no
+PermitUserEnvironment yes
+AllowUsers git