You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hugvey/autossh-hugvey.service

12 lines
331 B

[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
User=hugvey
[Install]
WantedBy=multi-user.target