This commit is contained in:
Simon Rieger 2017-01-15 11:05:13 +01:00 committed by GitHub
parent 936f4e259c
commit cecf326fc0

View file

@ -5,7 +5,7 @@ After=network.target
[Service] [Service]
User=root 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 # Restart every >2 seconds to avoid StartLimitInterval failure
RestartSec=3 RestartSec=3