aboutsummaryrefslogtreecommitdiff
path: root/roles/git/files/gitolite-cgit/etc/sshd_config
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/gitolite-cgit/etc/sshd_config')
-rw-r--r--roles/git/files/gitolite-cgit/etc/sshd_config14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/git/files/gitolite-cgit/etc/sshd_config b/roles/git/files/gitolite-cgit/etc/sshd_config
new file mode 100644
index 0000000..b6da391
--- /dev/null
+++ b/roles/git/files/gitolite-cgit/etc/sshd_config
@@ -0,0 +1,14 @@
+# sshd_config(5)
+
+AuthorizedKeysFile .ssh/authorized_keys
+
+PermitRootLogin no
+PubkeyAuthentication yes
+HostbasedAuthentication yes
+IgnoreUserKnownHosts no
+PasswordAuthentication no
+PermitEmptyPasswords no
+
+AllowTcpForwarding no
+GatewayPorts no
+X11Forwarding no