summaryrefslogtreecommitdiff
path: root/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'ssh')
-rw-r--r--ssh/sshd_config14
1 files changed, 14 insertions, 0 deletions
diff --git a/ssh/sshd_config b/ssh/sshd_config
index 80f3127..0ecbf75 100644
--- a/ssh/sshd_config
+++ b/ssh/sshd_config
@@ -10,3 +10,17 @@ PermitRootLogin no
PermitEmptyPasswords no
PubkeyAuthentication yes
AllowUsers brad git
+AuthenticationMethods publickey
+MaxAuthTries 3
+LoginGraceTime 30
+PermitUserEnvironment no
+AllowAgentForwarding no
+PermitTunnel no
+AllowTcpForwarding no
+DisableForwarding yes
+PermitUserRC no
+RequiredRSASize 2048
+
+Match User git
+ DisableForwarding yes
+ PermitTTY no