forward suff to vbox

master
root 2023-01-14 08:10:01 +00:00
parent 059d6eceed
commit 2905716a51
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ sudo -u automation /home/automation/chch-power/run.sh
while true; do
# cat ~/.ssh/authorized_key
# 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
done
) &
@ -37,7 +37,7 @@ disown
while true; do
# cat ~/.ssh/authorized_key
# 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
done
) &