Bug #1401

SCRIPTS: make sure strict host checking is disabled

Added by Giulio Moro about 10 years ago. Updated over 9 years ago.

Status:ClosedStart date:2015-09-27
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

we need to disable strict host key checking so that any non-interactive script will work without the need to ssh manually and type "yes" at least once !
This is already done by the latest (not yet committed) revision of setup-ssh.sh (which stores in ~/.ssh/config that stricthostkeychecking has to be disabled for the bbb.)

Anyhow, the other scripts do not have to rely on this, so, we need to
either:
add a line "ssh -q -o StrictHostKeyChecking=no exit" at the beginning of each script,
or (better):
replace each instance of
"ssh "
with
$SSHBBB
and define at the top of the file
SSHBBB="ssh -q -o StrictHostKeyChecking=no "

History

#1 Updated by Giulio Moro over 9 years ago

added to check_board_alive, so it'll always be performed first

#2 Updated by Giulio Moro over 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF