autossh
Jump to navigation
Jump to search
- Homepage: https://www.harding.motd.ca/autossh/
- Man: https://linux.die.net/man/1/autossh
apt install autossh
brew install autossh
- 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
See also
Advertising: