IT/Software/Applications/Remote Login/autossh: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with "== 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. <ref>[https://linux.die.net/man/1/...") |
No edit summary |
||
Line 2: | Line 2: | ||
* Autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. <ref>[https://linux.die.net/man/1/autossh https://linux.die.net/man/1/autossh]</ref> | * Autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. <ref>[https://linux.die.net/man/1/autossh https://linux.die.net/man/1/autossh]</ref> | ||
== Reliable Reverse ssh Tunnel == | == Reliable Reverse ssh Tunnel == | ||
*<code>autossh -M 20000 -f -N your_public_server -R 1234:localhost:22 -C</code> | * 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. | |||
*<code>autossh -M 20000 -f -N your_public_server -R 1234:localhost:22 -C</code> <ref>https://superuser.com/questions/37738/how-to-reliably-keep-an-ssh-tunnel-open</ref> | |||
<strong>Sources</strong> | |||
---- |
Revision as of 16:23, 19 January 2020
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