extend q7s-port script
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-03-11 14:47:23 +01:00
parent 0587295c1b
commit 4ca4db621a
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -1,13 +1,19 @@
#!/bin/bash #!/bin/bash
echo "Setting up all Q7S ports" echo "Setting up all Q7S ports"
echo "-L 1534:192.168.133.10:1534 for connection to TCF agent" echo "-L 1534:192.168.133.10:1534 for connection to the TCF agent on the FM"
echo "-L 1535:192.168.133.10:22 for file transfers" echo "-L 1535:192.168.133.10:22 for file transfers to the FM"
echo "-L 1536:192.168.133.10:7301 for TMTC commanding using the TCP/IP IF" echo "-L 1536:192.168.133.10:7301 for TMTC commanding using the TCP/IP IF on the FM"
echo "-L 1537:127.0.0.1:7100 for TMTC commanding using the CCSDS IF" echo "-L 1537:127.0.0.1:7100 for TMTC commanding using the CCSDS IF"
echo "-L 1538:192.168.155.55:1543 for connection to the TCF agent on the EM"
echo "-L 1539:192.168.155.55:22 for file transfers to the EM"
echo "-L 1540:192.168.155.55:7301 for TMTC commanding using the TCP/IP IF on the EM"
ssh -L 1534:192.168.133.10:1534 \ ssh -L 1534:192.168.133.10:1534 \
-L 1535:192.168.133.10:22 \ -L 1535:192.168.133.10:22 \
-L 1536:192.168.133.10:7301 \ -L 1536:192.168.133.10:7301 \
-L 1537:127.0.0.1:7100 \ -L 1537:127.0.0.1:7100 \
-L 1538:192.168.155.55:1543 \
-L 1539:192.168.155.55:22 \
-L 1540:192.168.155.55:7301 \
eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 \ eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 \
-t 'CONSOLE_PREFIX="[Q7S Tunnel]" /bin/bash' -t 'CONSOLE_PREFIX="[Q7S Tunnel]" /bin/bash'