IT/Software/Applications/Remote Login/autossh

From msgwiki
Revision as of 16:23, 19 January 2020 by Nathan (talk | contribs)
Jump to navigation Jump to search

About

  • Autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. [1]

Reliable Reverse ssh Tunnel

  • In theory, you should be able to put the following line in a cron script to run at bootup.
  • In practice I have done almost no testing on this.
  • autossh -M 20000 -f -N your_public_server -R 1234:localhost:22 -C [2]



Sources