broken-mobile-server/test.sh
arul 6001b40925 Upload files to "/"
Test Scripts
2024-06-02 20:46:40 +00:00

11 lines
300 B
Bash

# Set the target host and port
TARGET_HOST="androidnasserver1"
TARGET_PORT="22"
LOCAL_PORT="8022"
SERVEO_DOMAIN="serveo.net"
# Check if reverse port forwarding is already active, then kill the active reverse port forwarding
ssh -R $TARGET_HOST:$TARGET_PORT:127.0.0.1:$LOCAL_PORT $SERVEO_DOMAIN