From 0dc2a4b2d8c2ff1eceb4f87f8e21e2c315715319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sun, 1 Mar 2020 20:15:16 +0100 Subject: [PATCH] Updated SSH config --- config/ssh/sshd_config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/ssh/sshd_config b/config/ssh/sshd_config index 9905dbb..536eb0e 100644 --- a/config/ssh/sshd_config +++ b/config/ssh/sshd_config @@ -8,7 +8,7 @@ UsePAM yes X11Forwarding yes X11UseLocalhost no X11DisplayOffset 10 -AllowTcpForwarding yes +AllowTcpForwarding no PermitRootLogin no PermitEmptyPasswords no PermitUserEnvironment no @@ -16,6 +16,7 @@ PubkeyAuthentication yes PasswordAuthentication yes ChallengeResponseAuthentication no GSSAPIAuthentication no +Subsystem sftp internal-sftp LoginGraceTime 30 TCPKeepAlive yes ClientAliveInterval 60