q7s-port.sh: Make FM default
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-03-11 15:19:18 +01:00
parent 3aa641f05c
commit 245e3a0ff7

View File

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