This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VPN good - but shell dies after 1 hour plus

Dear NG,

i am running a VPN to a customer. I can do a ssh to the customer. I can work for one hour. Unfortunately the shell hangs and i have to kill the shell, because it is dead. This error occurs after 1 hour or more. Sometimes after 2 hours.

Does anybody has an idea?


This thread was automatically locked due to age.
Parents Reply
  • It's not ssh, it's the stateful firewalls or routers somewhere between (and sometimes including) the enpoints of the connections which drop idle connections.

    You can enable the ServerAliveInterval and also make sure that TCPKeepAlive is enabled (that should be enabled by default) in /etc/ssh/ssh_config to turn those options on each time without having to specify any options on the command line to work around these issues.
Children