This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/benchmarking in repository toolchain/abe.
commit 04e55d7e153e7b677745305931681ba6474a5063 Author: Bernard Ogden bernie.ogden@linaro.org Date: Thu Jul 30 12:21:57 2015 +0200
Fix addition of localhosts to known_hosts
If we skip host key authentication for localhost, it doesn't get added to known_hosts. This appeared to be working because all testing to date was with fakebench, and the substitution in sources.conf was broken, so abe was in fact getting fakebench from git.l.o.
Change-Id: I8e850f43e938dd940b02380f6a2d22005828b92e --- config/bench/lava/host-session | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/config/bench/lava/host-session b/config/bench/lava/host-session index 3ddb578..a67dc61 100755 --- a/config/bench/lava/host-session +++ b/config/bench/lava/host-session @@ -60,10 +60,8 @@ ssh-add ~/data/onetime #Need to be able to ssh to self to get local sources #Can reuse the onetime key for this cat ~/data/onetime.pub >> ~/.ssh/authorized_keys -if ! ssh -o NoHostAuthenticationForLocalhost=yes localhost true; then - echo "Failed to ssh to self" >&2 - exit 1 -fi +echo -n 'localhost ' >> ~/.ssh/known_hosts +cat /etc/ssh/ssh_host_ecdsa_key.pub >> ~/.ssh/known_hosts
#Generate config file for each target in multinode job lava-network broadcast eth0