Difference between revisions of "Autossh"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 2: Line 2:
 
* Homepage: https://www.harding.motd.ca/autossh/
 
* Homepage: https://www.harding.motd.ca/autossh/
 
* Man: https://linux.die.net/man/1/autossh
 
* Man: https://linux.die.net/man/1/autossh
 
+
* <code>apt install autossh</code>
apt install autossh
+
* <code>[[brew install autossh]]</code>
[[brew install autossh]]
 
  
 
* Loop waiting to connect to server: <code>AUTOSSH_POLL=5 AUTOSSH_GATETIME=0 [[autossh -M]] 0 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 YOUR_SERVER_NAME_OR_IP</code>
 
* Loop waiting to connect to server: <code>AUTOSSH_POLL=5 AUTOSSH_GATETIME=0 [[autossh -M]] 0 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 YOUR_SERVER_NAME_OR_IP</code>

Revision as of 16:03, 15 March 2023

  • 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

.bash_profile

See also

Advertising: