aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. McEnroe <june@causal.agency>2020-06-25 00:40:00 -0400
committerC. McEnroe <june@causal.agency>2020-06-25 00:40:00 -0400
commit529028fe4a2973aaae466c294b43d8d59f380f9d (patch)
tree580f3e31e17a12c0774ba21aab69ad0da495f0b7
parentBump ParamCap to 254 (diff)
downloadcatgirl-529028fe4a2973aaae466c294b43d8d59f380f9d.tar.gz
catgirl-529028fe4a2973aaae466c294b43d8d59f380f9d.zip
Use DisableForwarding in sshd_config
-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