mvp1/autossh-tunnel.service

13 lines
340 B
SYSTEMD
Raw Normal View History

2020-01-28 21:26:39 +01:00
[Unit]
Description=AutoSSH tunnel to artwork user on rubenvandeven.com port 6669
After=network.target
[Service]
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 -N -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 6669:localhost:22 artwork1@here.rubenvandeven.com
User=pi
[Install]
WantedBy=multi-user.target