#/bin/bash
ROOT=$(dirname `pwd`)

source ${ROOT}/scripts/default.env
mdc_dir=/opt/usr/home/mdc/${USERNAME}/${PROJECTNAME}

sshpass -p Huawei12#$ ssh -t -p 22 -o StrictHostKeyChecking=no root@${MDC_SOC_A} "cd ${mdc_dir}/scripts; bash -c 'bash run_all.sh; exec bash'"
# sshpass -p Huawei12#$ ssh -t -p 22 -o StrictHostKeyChecking=no root@${MDC_SOC_A} "cd ${mdc_dir}/scripts; bash run_all.sh & disown"