summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorC. McEnroe2020-06-25 00:40:00 -0400
committerC. McEnroe2020-06-25 00:40:00 -0400
commit529028fe4a2973aaae466c294b43d8d59f380f9d (patch)
tree580f3e31e17a12c0774ba21aab69ad0da495f0b7 /scripts
parent94fb9798c5476a9a3111f3982f357920b18c2fd0 (diff)
Use DisableForwarding in sshd_config
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sshd_config6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/sshd_config b/scripts/sshd_config
index 4669f7f..c7e99ec 100644
--- a/scripts/sshd_config
+++ b/scripts/sshd_config
@@ -5,9 +5,5 @@ Match User chat
 	PermitEmptyPasswords yes
 	ChrootDirectory /home/chat
 	ForceCommand catgirl-prompt
-
-	AllowAgentForwarding no
-	AllowTcpForwarding no
-	AllowStreamLocalForwarding no
+	DisableForwarding yes
 	MaxSessions 1
-	X11Forwarding no