Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Unit]
Description=AutoSSH service
After=network.target
[Service]
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 -NL 2525:localhost:25 -o TCPKeepAlive=yes nona@sakura.nna774.net -i /root/.ssh/autossh-sakura
Restart=always
[Install]
WantedBy=multi-user.target
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.