mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iop: ssh_upgrade: Disable host key checking
This change simplifies ssh updates when connecting to different hosts with same IP address.
This commit is contained in:
parent
1759f36740
commit
9cf572e22e
1 changed files with 1 additions and 0 deletions
|
|
@ -274,6 +274,7 @@ function ssh_upgrade {
|
|||
pv "$upd_fw" |
|
||||
ssh \
|
||||
-o ConnectTimeout=60 \
|
||||
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
|
||||
root@"$upd_host" \
|
||||
sh -c "cat > '/tmp/$upd_fw_base' && (set -x && sysupgrade -v $extra_args /tmp/$upd_fw_base)" ||
|
||||
echo "Sysupgrade failed" >&2 && return 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue