mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
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:
parent
0aad4b9dd1
commit
cc469d2f47
@ -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%:*}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user