LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Keeping your SSH connections alive with autossh (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-keeping-your-ssh-connections-alive-with-autossh-642789/)

LXer 05-16-2008 09:30 PM

LXer: Keeping your SSH connections alive with autossh
 
Published at LXer:

With autossh, you can monitor your SSH connections and restart them if they stop sending traffic or SSH exits abnormally. This makes autossh perfect for keeping secure port forwarding available. Some readers will be familiar with the TCPKeepAlive, ServerAliveInterval, and ServerAliveCountMax options to SSH itself. TCPKeepAlive causes TCP keepalive messages to be sent to the server, allowing SSH to detect if it can no longer contact the server. ServerAliveCountMax and ServerAliveInterval cause the SSH client to send traffic through the encrypted link to the server, and can be used both the avoid a connection being closed due to inactivity and to have the SSH client exit if traffic cannot be returned from the server for a specified amount of time.

Read More...


All times are GMT -5. The time now is 03:37 PM.