[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#243832: Debian Bug #243832: possible solution



> I did set KeepAlive to no in my .ssh/config

KeepAlive (now known as TCPKeepAlive) is a per-socket option that enables the system-wide TCP keepalive timer (which defaults to 120 minutes).

You probably want "ServerAliveInterval 300" in ssh_config or $HOME/.ssh/config. This will cause ssh to send an application-level keepalive every 5 minutes if there's no other traffic, which will keep the connection "fresh" in the firewall or NAT device's state table.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




Reply to: