aboutsummaryrefslogtreecommitdiff
path: root/ssh/sshd-config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ssh/sshd-config/git.conf6
-rw-r--r--ssh/sshd-config/host.conf4
2 files changed, 10 insertions, 0 deletions
diff --git a/ssh/sshd-config/git.conf b/ssh/sshd-config/git.conf
new file mode 100644
index 0000000..102725a
--- /dev/null
+++ b/ssh/sshd-config/git.conf
@@ -0,0 +1,6 @@
+Match Group git
+ X11Forwarding no
+ AllowTcpForwarding no
+ PermitTunnel no
+ AllowAgentForwarding no
+ GatewayPorts no
diff --git a/ssh/sshd-config/host.conf b/ssh/sshd-config/host.conf
new file mode 100644
index 0000000..851b876
--- /dev/null
+++ b/ssh/sshd-config/host.conf
@@ -0,0 +1,4 @@
+MaxAuthTries 3
+LoginGraceTime 20
+PasswordAuthentication no
+KbdInteractiveAuthentication no