build_library/release_util.sh: improve ssh opts for rsync

Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
Thilo Fromm 2021-10-07 11:17:33 +02:00 committed by GitHub
parent 0aad4b9dd1
commit cc469d2f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,7 @@ upload_files() {
local sshcmd="ssh -o BatchMode=yes " local sshcmd="ssh -o BatchMode=yes "
sshcmd="$sshcmd -o StrictHostKeyChecking=no" sshcmd="$sshcmd -o StrictHostKeyChecking=no"
sshcmd="$sshcmd -o UserKnownHostsFile=/dev/null" sshcmd="$sshcmd -o UserKnownHostsFile=/dev/null"
sshcmd="$sshcmd -o NumberOfPasswordPrompts=0"
# ensure the target path exists # ensure the target path exists
local sshuserhost="${rsync_upload_path%:*}" local sshuserhost="${rsync_upload_path%:*}"