Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AutoSSH reverse tunnel service config for systemd
Description=AutoSSH reverse tunnel service for 100022 -> 22
ExecStart=/usr/bin/autossh -M 0 -o "ExitOnForwardFailure=yes" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -NR 10022: -i /home/root/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.