fix sftp host key checking
This commit is contained in:
parent
d2295e738a
commit
9d0d39df03
4 changed files with 4 additions and 4 deletions
|
@ -1 +1 @@
|
|||
1717894374
|
||||
1717932046
|
||||
|
|
|
@ -1 +1 @@
|
|||
1717894374
|
||||
1717932046
|
||||
|
|
|
@ -1 +1 @@
|
|||
1717894374
|
||||
1717932046
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
|
||||
echo "$SSH_PRIVATEKEY" > ssh_key
|
||||
chmod 700 ssh_key
|
||||
scp -i ssh_key -P "$BB_PORT" "$1" "root@$BB_HOST:$BB_PATH"
|
||||
scp -o StrictHostKeyChecking=no -i ssh_key -P "$BB_PORT" "$1" "root@$BB_HOST:$BB_PATH"
|
||||
rm ssh_key
|
Loading…
Add table
Reference in a new issue