Skip to content

Instantly share code, notes, and snippets.

View fwarmuth's full-sized avatar

Felix Warmuth fwarmuth

  • Hamburg
View GitHub Profile
@fwarmuth
fwarmuth / autossh.service
Created July 10, 2019 05:45 — 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)