about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-25 00:37:59 -0400
committerJune McEnroe <june@causal.agency>2020-06-25 00:37:59 -0400
commit0943aaffa85fbe28c7a21285d0dbebc65cad3021 (patch)
tree0e1648ddd7ddac6a2cbf8505e59261f57e6a426a
parentRemove README (diff)
downloadtorus-0943aaffa85fbe28c7a21285d0dbebc65cad3021.tar.gz
torus-0943aaffa85fbe28c7a21285d0dbebc65cad3021.zip
Use DisableForwarding in sshd_config
-rw-r--r--sshd_config6
1 files changed, 1 insertions, 5 deletions
diff --git a/sshd_config b/sshd_config
index 2d4366a..0c56b8c 100644
--- a/sshd_config
+++ b/sshd_config
@@ -5,9 +5,5 @@ Match User torus
 	PermitEmptyPasswords yes
 	ChrootDirectory /home/torus
 	ForceCommand client
-
-	AllowAgentForwarding no
-	AllowTcpForwarding no
-	AllowStreamLocalForwarding no
+	DisableForwarding yes
 	MaxSessions 1
-	X11Forwarding no