Skip to content

Instantly share code, notes, and snippets.

View dpnsan's full-sized avatar

Dave Pijuan-Nomura dpnsan

  • Nomura Photography
  • Hamilton
View GitHub Profile
@dpnsan
dpnsan / autossh.service
Created June 2, 2017 14:56 — 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)