forward suff to vbox
This commit is contained in:
parent
059d6eceed
commit
2905716a51
|
@ -25,7 +25,7 @@ sudo -u automation /home/automation/chch-power/run.sh
|
||||||
while true; do
|
while true; do
|
||||||
# cat ~/.ssh/authorized_key
|
# cat ~/.ssh/authorized_key
|
||||||
# restrict,command="",port-forwarding ssh-rsa AAAA...
|
# restrict,command="",port-forwarding ssh-rsa AAAA...
|
||||||
ssh ssh-port-forwarding@vbox.chch.it -TNnqakx -o "TCPKeepAlive yes" -o "ServerAliveInterval 5" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure yes" -N -4 -R '127.0.0.1:2322:127.0.0.1:22' -L '127.0.0.1:2525:127.0.0.1:25'
|
ssh ssh-port-forwarding@vbox.chch.it -TNnqakx -o "TCPKeepAlive yes" -o "ServerAliveInterval 5" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure yes" -N -4 -R 'localhost:2322:localhost:22' -L 'localhost:2525:localhost:25' -R 'localhost:9991:suff:80'
|
||||||
sleep 30
|
sleep 30
|
||||||
done
|
done
|
||||||
) &
|
) &
|
||||||
|
@ -37,7 +37,7 @@ disown
|
||||||
while true; do
|
while true; do
|
||||||
# cat ~/.ssh/authorized_key
|
# cat ~/.ssh/authorized_key
|
||||||
# restrict,command="",port-forwarding ssh-rsa AAAA...
|
# restrict,command="",port-forwarding ssh-rsa AAAA...
|
||||||
ssh ssh-port-forwarding@vcup.chch.it -TNnqakx -o "TCPKeepAlive yes" -o "ServerAliveInterval 5" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure yes" -N -4 -R '127.0.0.1:2322:127.0.0.1:22'
|
ssh ssh-port-forwarding@vcup.chch.it -TNnqakx -o "TCPKeepAlive yes" -o "ServerAliveInterval 5" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure yes" -N -4 -R 'localhost:2322:localhost:22'
|
||||||
sleep 30
|
sleep 30
|
||||||
done
|
done
|
||||||
) &
|
) &
|
||||||
|
|
Loading…
Reference in New Issue