Keeping your SSH connections alive with autossh

  2008-05-17 04:00:05
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. 
  PNG Image  PNG Image  PNG Image



This particular article has been collected via RSS syndication. We apologize if it's too brief.
If You wish to publish articles on LinuxStreet.net please contact us.




  Similar articles  
ImageDid Gentoo just die?
ImageOpenBeOS: It's Alive and Well
ImageTracking TCP Connections With tcptrack
ImageCourt Continues Microsoft Antitrust Case
ImageInterview: Joel Cohen, writer and producer of The Simpsons
ImageShape your traffic with trickle
ImageIPTraf, a ncurses based LAN monitor
ImageSmart Connections with Micro Linux PC
ImageShare and Preserve Python Database Access
ImageHow Facebook Works

  Related tags  
SSH   Server   Traffic   Client   Connections   Link   Encrypted   Detect   Connection   Secure   Port   Forwarding   Readers   TCP   Messages   Options   Monitor  

Leave a comment on this article


Captcha

  
Check this if the code you see is not readable and resubmit the form.
(Data you entered will be preserved)



  

Comments (0)