summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2015-07-13 12:10:26 +0200
committerBernard Ogden <bernie.ogden@linaro.org>2015-07-13 12:10:26 +0200
commit7217a54988a73b1187b3eb114a0a5d4d4423b812 (patch)
tree03b8eb356ea88765835c24360bf10d2ce5fbbff6
parent15c688da7f8bcf149965ea09743397d0914507e1 (diff)
Specify key to use for localhost connection
Change-Id: I861ee47de7c6186e995bef202ab2c2cdf65c965c
-rwxr-xr-xinvoke_session_debian2
1 files changed, 1 insertions, 1 deletions
diff --git a/invoke_session_debian b/invoke_session_debian
index 2c1bab5..fdca6be 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -60,7 +60,7 @@ export LAVA_SSH_KEYFILE=${HOME}/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 StrictHostKeyChecking=no localhost true; then
+if ! ssh -i ~/data/onetime -o StrictHostKeyChecking=no localhost true; then
echo "Failed to ssh to self" >&2
exit 1
fi