Update sshtunnel1.service
This commit is contained in:
parent
e54ca43e60
commit
17bfe35133
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ ConditionPathExists=|/usr/bin
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=simono41
|
User=root
|
||||||
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
|
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
|
# Restart every >2 seconds to avoid StartLimitInterval failure
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
Loading…
Reference in a new issue