diff --git a/sshtunnel.service b/sshtunnel.service index 075ee8a..79004fc 100644 --- a/sshtunnel.service +++ b/sshtunnel.service @@ -5,7 +5,7 @@ After=network.target [Service] User=root -ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa -R 12345:localhost:22 pi@mgwywbvcwmot7vir.myfritz.net +ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa -R 12345:localhost:22 root@mgwywbvcwmot7vir.myfritz.net # Restart every >2 seconds to avoid StartLimitInterval failure RestartSec=3