From 17bfe3513303da8c2d4fe6c9d283b173efc85342 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 5 Feb 2017 00:10:21 +0100 Subject: [PATCH] Update sshtunnel1.service --- sshtunnel1.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshtunnel1.service b/sshtunnel1.service index 712dc1e..3e9b2da 100644 --- a/sshtunnel1.service +++ b/sshtunnel1.service @@ -4,8 +4,8 @@ ConditionPathExists=|/usr/bin After=network.target [Service] -User=simono41 -ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /home/simono41/.ssh/id_rsa -L 12345:localhost:22 pi@mgwywbvcwmot7vir.myfritz.net +User=root +ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa -L 12345:localhost:22 root@mgwywbvcwmot7vir.myfritz.net # Restart every >2 seconds to avoid StartLimitInterval failure RestartSec=3