From e4a2b3ba36fac7457a6724712706b3f1a7be3f52 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 25 Jun 2020 00:37:59 -0400 Subject: Use DisableForwarding in sshd_config --- sshd_config | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sshd_config') 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 -- cgit 1.4.1