From 515cbb0ef3086752d3530182d66a719bf4f550b0 Mon Sep 17 00:00:00 2001 From: "atlas.w" Date: Fri, 28 Oct 2022 03:52:29 +0000 Subject: [PATCH 1/2] update script/tools/safe_sshcmd.sh. Signed-off-by: atlas.w --- script/tools/safe_sshcmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tools/safe_sshcmd.sh b/script/tools/safe_sshcmd.sh index beb5cc7..b1e6f6f 100644 --- a/script/tools/safe_sshcmd.sh +++ b/script/tools/safe_sshcmd.sh @@ -34,7 +34,7 @@ do esac done - +// test scan if [ "x${execcmd}" = "x" -o "x${machineip}" = "x" ];then usage exit 1 -- Gitee From 060b84e42e3468b7f09d445eeee36a18b24a65f2 Mon Sep 17 00:00:00 2001 From: "atlas.w" Date: Fri, 28 Oct 2022 07:34:05 +0000 Subject: [PATCH 2/2] update script/expect.sh. Signed-off-by: atlas.w --- script/expect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/expect.sh b/script/expect.sh index 134bfca..4ee99db 100644 --- a/script/expect.sh +++ b/script/expect.sh @@ -1,5 +1,5 @@ #!/bin/bash -passwd="1234" +passwd="123456" expect -c " spawn $@ expect { -- Gitee