Skip to content

Instantly share code, notes, and snippets.

View kangguru's full-sized avatar

Lars kangguru

View GitHub Profile
@kangguru
kangguru / autossh.service
Created July 1, 2016 07:08 — forked from thomasfr/autossh.service
Systemd service for autossh
[Unit]
Description=Keeps a tunnel to 'remote.example.com' open
After=network.target
[Service]
User=autossh
# -p [PORT]
# -l [user]
# -M 0 --> no monitoring
# -N Just open the connection and do nothing (not interactive)