summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-25 00:39:03 -0400
committerJune McEnroe <june@causal.agency>2020-06-25 00:39:03 -0400
commit957954db439d4866fd79fa74ae2561ca01e83a90 (patch)
tree62b63e6ae8b41b137cf1540bc6c86228f04e3071
parentUpdate git URL (diff)
downloadplay-957954db439d4866fd79fa74ae2561ca01e83a90.tar.gz
play-957954db439d4866fd79fa74ae2561ca01e83a90.zip
Use DisableForwarding in sshd_config
Diffstat (limited to '')
-rw-r--r--sshd_config6
1 files changed, 1 insertions, 5 deletions
diff --git a/sshd_config b/sshd_config
index 3d0842b..2564587 100644
--- a/sshd_config
+++ b/sshd_config
@@ -5,9 +5,5 @@ Match User play
 	PermitEmptyPasswords yes
 	ChrootDirectory /home/play
 	ForceCommand play
-
-	AllowAgentForwarding no
-	AllowTcpForwarding no
-	AllowStreamLocalForwarding no
+	DisableForwarding yes
 	MaxSessions 1
-	X11Forwarding no