Commit 8f5aa00 1 parent 47b6981 commit 8f5aa00 Copy full SHA for 8f5aa00
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ ssh_fn() {
233
233
234
234
local ret
235
235
236
- set -- -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes " $@ "
236
+ set -- -q -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=" $results_folder /known_hosts " -o BatchMode=yes " $@ "
237
237
while ssh " $@ " ; ret=$? ; [ $ret -eq 255 ]; do
238
238
[ $retry = false ] && break
239
239
err " Waiting to retry SSH: $* "
@@ -245,7 +245,7 @@ ssh_fn() {
245
245
246
246
rsync_fn () {
247
247
local ret
248
- set -- -q -e ' ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes' " $@ "
248
+ set -- -q -e ' ssh -q -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=' " $results_folder " ' /known_hosts -o BatchMode=yes' " $@ "
249
249
while rsync " $@ " ; ret=$? ; [ $ret -ne 0 ] && [ $ret -ne 23 ]; do
250
250
err " Waiting to retry rsync (failed with $ret ): $* "
251
251
sleep 10
You can’t perform that action at this time.
0 commit comments