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 Dongsu Park
parent 97d1b3a8be
commit 1e4c772017

View File

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