Difference between revisions of "Autossh"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
 
== Related ==
 
== Related ==
<code>[[.bash_profile]]</code>
+
* <code>[[.bash_profile]]</code>
 +
* [[alias]]
  
 
== See also ==
 
== See also ==

Revision as of 17:57, 16 March 2023

Installation


  • Loop waiting to connect to server:

AUTOSSH_POLL=5 AUTOSSH_GATETIME=0 autossh -M 0 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 YOUR_SERVER_NAME_OR_IP

Related

See also

Advertising: