[Unit] Description=Service to maintain an ssh reverse tunnel Wants=network-online.target After=network-online.target StartLimitIntervalSec=0 [Service] Type=simple ExecStart=/usr/bin/ssh -Nn \ -o ServerAliveInterval=30 \ -o ServerAliveCountMax=3 \ -o ExitOnForwardFailure=yes \ -i /home/paul/.ssh/id_rsa_fast \ -R 7000:127.0.0.1:8080 \ -R 7001:127.0.0.1:8443 \ -R 7002:127.0.0.1:2222 \ -R 7003:127.0.0.1:25565 \ -R 7004:127.0.0.1:8448 \ pew@polyvalent.seaturtle.pw Restart=always RestartSec=30 [Install] WantedBy=multi-user.target