From cecf326fc03427d2a526bed3ca5b4ab5ac7ee5fc Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 15 Jan 2017 11:05:13 +0100 Subject: [PATCH] bugfix --- sshtunnel.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshtunnel.service b/sshtunnel.service index 1886093..075ee8a 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 %h/.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 pi@mgwywbvcwmot7vir.myfritz.net # Restart every >2 seconds to avoid StartLimitInterval failure RestartSec=3