From 365cfcd72ea66629f98d5c4215923b0df48d49e7 Mon Sep 17 00:00:00 2001 From: miao_kaibo Date: Fri, 2 Apr 2021 16:52:44 +0800 Subject: [PATCH] test --- script/tools/sshcmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tools/sshcmd.sh b/script/tools/sshcmd.sh index 8ab6167..7b8321b 100644 --- a/script/tools/sshcmd.sh +++ b/script/tools/sshcmd.sh @@ -46,7 +46,7 @@ function sshcmd_comm() set timeout -1 ## remotly exectue command - spawn ssh -o "ConnectTimeout ${timeout}" -i ~/.ssh/super_publish_rsa "${user}@${testip}" "${cmd}" + spawn ssh -o "ConnectTimeout ${timeout}" -i ~/.ssh/super_publish_rsa -p 30322 "${user}@172.16.1.241" "${cmd}" expect { -- Gitee