Upload files to "/"
Test Scripts
This commit is contained in:
parent
969e55ac42
commit
6001b40925
4
msInit.sh
Normal file
4
msInit.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
navidrome > /data/data/com.termux/files/home/.cronlog/navidrome_log.txt 2>&1 &
|
||||
sleep 4
|
||||
bash ~/.custmScrpt/initNavidrome_http.sh
|
8
site-init
Normal file
8
site-init
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
ssh -L 8080:localhost:1111 root@192.168.29.158 -p 2222 -N &> /dev/null &
|
||||
|
||||
|
||||
caddy reverse-proxy --from :1111 --to :1110 &> /dev/null &
|
||||
|
||||
|
10
test.sh
Normal file
10
test.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user