From 92dc7d51822d3a6c53fec3b5ea48e7239d115e9f Mon Sep 17 00:00:00 2001 From: wangchong1995924 <15229716099@163.com> Date: Wed, 8 Jan 2025 14:53:07 +0800 Subject: [PATCH] fix timeout disconnection --- script/tools/pkg_rpm_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tools/pkg_rpm_update.sh b/script/tools/pkg_rpm_update.sh index 122e155..e986a68 100755 --- a/script/tools/pkg_rpm_update.sh +++ b/script/tools/pkg_rpm_update.sh @@ -567,7 +567,7 @@ function main() { commit_file_name="${branch}-package-commit.txt" commit_file_path="${update_path}/${commit_file_name}" pkglist_file_path="${update_path}/pkglist" - ssh_str="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR" + ssh_str="-o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR" install_jq install_createrepo -- Gitee