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:
parent
68f7fd5b59
commit
3d64f22c39
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
- ["PermitRootLogin", "prohibit-password"]
|
- ["PermitRootLogin", "prohibit-password"]
|
||||||
- ["AllowAgentForwarding", "no"]
|
- ["AllowAgentForwarding", "no"]
|
||||||
- ["X11Forwarding", "no"]
|
- ["X11Forwarding", "no"]
|
||||||
- ["TCPKeepAlive", "no"]
|
- ["TCPKeepAlive", "yes"]
|
||||||
notify: Restart sshd service
|
notify: Restart sshd service
|
||||||
|
|
||||||
# See banned client with `fail2ban-client status sshd`
|
# See banned client with `fail2ban-client status sshd`
|
||||||
|
|
Loading…
Reference in a new issue