diff --git a/script/tools/pkg_rpm_update.sh b/script/tools/pkg_rpm_update.sh index 122e155c6408ae9906d09012f447a266e9a0e7d0..e986a68921ad2fe1bc288c63edfcf80d47574425 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