Automatically restart SSH sessions and tunnels
Autossh is a program to start a copy of ssh and monitor it, restarting
it as necessary should it die or stop passing traffic. The idea and
the mechanism are from rstunnel (Reliable SSH Tunnel), but implemented
in C. The author's view is that it is not as fiddly as rstunnel to get
to work. Connection monitoring using a loop of port forwardings. Backs
off on rate of connection attempts when experiencing rapid failures
such as connection refused.
autossh Version 1.4
Building and Installing Autossh
With version 1.4, autossh now uses autoconf. So the build procedure
is now the well-known:
Look at autossh.host for an example wrapper script.
autossh -M <port>[:echo_port] [-f] [SSH OPTIONS]
autossh is a program to
AUTOSSH(1) BSD General Commands Manual AUTOSSH(1)
autossh — monitor and restart ssh sessions
autossh [-V] [-M port[:echo_port]] [-f] [SSH_OPTIONS]
autossh is a program to start a copy of ssh and monitor it,
restarting it as necessary should it die or stop passing traf‐
The original idea and the mechanism were f
- updated option string up to OpenSSH 5.6
- when using -f, set gate_time to 0; the assumption is that
it is being used for infrastructure (i.e. in a system startup),
has been tested, and bombing out just because the remote end is
not up is not the desired behaviour.
- add patch from Thorsten Glazer for configure, fixes misplaced
parenthesis and check for __progname.
Browse inside autossh-1.4c-1.el5.rf.x86_64.rpm
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com