Update sshtunnel1.service
This commit is contained in:
parent
0c26cedbdf
commit
f9993b5e9b
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ Description=SSH Tunnel
|
||||||
ConditionPathExists=|/usr/bin
|
ConditionPathExists=|/usr/bin
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
# host --> client; Weiterleitung von Port ... auf dem lokalen System an den Webserver (Port ...) auf server:
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue