Autossh

autossh
Original author(s) Carson Harding
Developer(s) Carson Harding
Initial release 2002
Stable release 1.4c / 13 October 2011[1]
Written in C
Operating system Any Unix-like
License modified BSD[2]
Website www.harding.motd.ca/autossh/

Autossh is a program to start a copy of SSH and monitor it, restarting it as necessary should it die or stop passing traffic.[3] The original idea and the mechanism were inspired by RSTunnel (Reliable SSH Tunnel). With version 1.2 the method changed: autossh began to use SSH to construct a loop of SSH forwardings (one from the local machine to the remote, and one from the remote to the local), and then send test data that it expects to get back. (The idea was thanks to Terrence Martin.) With version 1.3, a new method was added (thanks to Ron Yorston): a port may be specified for a remote echo service that will echo back the test data. This avoids the congestion and the aggravation of making sure all the port numbers on the remote machine do not collide. The loop-of-forwardings method remains available for situations where using an echo service may not be possible.

References

  1. ^ Releases on Freshmeat. Retrieved 30 November 2009.
  2. ^ Source code (autossh.c). Retrieved 30 November 2009.
  3. ^ autossh home page. Retrieved 30 November 2009.

See also