[Unit] Description=Keeps an SSH tunnel to 'bpfilip.dk' open After=network-online.target [Service] User=root ExecStart=/usr/bin/autossh -M 0 -N -q -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" bpfilip.dk ExecStop=/usr/bin/killall -s KILL autossh Restart=always RestartSec=3 [Install] WantedBy=multi-user.target