Bug #1401
SCRIPTS: make sure strict host checking is disabled
| Status: | Closed | Start date: | 2015-09-27 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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 root@192.168.7.2 exit" at the beginning of each script,
or (better):
replace each instance of
"ssh root@192.168.7.2"
with
$SSHBBB
and define at the top of the file
SSHBBB="ssh -q -o StrictHostKeyChecking=no root@192.168.7.2"
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