2019-04-11 10:42:22 +00:00
|
|
|
[Unit]
|
|
|
|
Description=AutoSSH tunnel to hugvey user on rubenvandeven.com port 6666
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment="AUTOSSH_GATETIME=0"
|
|
|
|
ExecStart=/usr/bin/autossh -M 0 -N -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 6666:localhost:22 hugvey@rubenvandeven.com
|
2019-04-11 10:50:51 +00:00
|
|
|
User=hugvey
|
2019-04-11 10:42:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|