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
commite4a2b3ba36fac7457a6724712706b3f1a7be3f52 (patch)
treea9a236cc562e314024a669e52d64de9b521a3e0a
parentRemove README (diff)
downloadtorus-e4a2b3ba36fac7457a6724712706b3f1a7be3f52.tar.gz
torus-e4a2b3ba36fac7457a6724712706b3f1a7be3f52.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