Skip to content

Instantly share code, notes, and snippets.

@viernes
viernes / autossh.service
Last active November 15, 2017 21:48 — forked from thomasfr/autossh.service
Systemd service for autossh
[Unit]
Description=Keeps a tunnel to 'remote.example.com' open
After=network-online.target
[Service]
User=tunel
#ISTALLL
# sudo mv autossh.service /etc/systemd/system/
# sudo systemctl enable autossh.service
# sudo apt install autossh