Modification du keepalive d'OpenSSHd.

Les serveurs OpenSSH détectent désormais la déconnexion du client et
peuvent terminer la session.
This commit is contained in:
jeltz 2020-10-24 19:12:35 +02:00
parent 68f7fd5b59
commit 3d64f22c39

View file

@ -35,7 +35,7 @@
- ["PermitRootLogin", "prohibit-password"]
- ["AllowAgentForwarding", "no"]
- ["X11Forwarding", "no"]
- ["TCPKeepAlive", "no"]
- ["TCPKeepAlive", "yes"]
notify: Restart sshd service
# See banned client with `fail2ban-client status sshd`