From 0d2438048f6aef751c811dca29609198fc5cbad9 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Fri, 28 Mar 2014 16:14:24 +0000 Subject: Make distbuild config extension generate known_hosts file --- distbuild.configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distbuild.configure b/distbuild.configure index e8022062..31afc813 100644 --- a/distbuild.configure +++ b/distbuild.configure @@ -156,4 +156,6 @@ mkdir -p "$1/root/.ssh" install -m 0600 "$WORKER_SSH_KEY" "$1/root/.ssh/id_rsa" install -m 0644 "${WORKER_SSH_KEY}.pub" "$1/root/.ssh/id_rsa.pub" +# Add trove's host key +ssh-keyscan -t dsa,ecdsa,rsa "$TROVE_ID" >> "$1/root/.ssh/known_hosts" fi -- cgit v1.2.1