This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src in repository toolchain/semiautobench.
commit 932f81cc7e1e9a641538fbd646747aed217a5a91 Author: Bernard Ogden bernie.ogden@linaro.org Date: Wed Jul 22 15:23:39 2015 +0200
Remove redundant onetime-keygen code
This was for semiautobench
Change-Id: I6b3f68eb10a0687cd729ec731a10dc7b595a3341 --- invoke_session_debian | 16 ---------------- 1 file changed, 16 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian index d4b13b5..96cf119 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -62,22 +62,6 @@ fi #Expect local sources sed -i 's#ssh://git@dev-private.git.linaro.org#ssh://localhost/~/benchsrc/#' "$ [...]
-#Generate one-time key -mkdir ~/data || exit 1 -if ! ssh-keygen -P '' -f ~/data/onetime > /dev/null < /dev/null; then - rm -rf ~/data - exit 1 -fi -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 -i ~/data/onetime -o StrictHostKeyChecking=no localhost true; then - echo "Failed to ssh to self" >&2 - exit 1 -fi - #This would be two agents if we wanted one for source, one for job echo "*** WAITING FOR AGENT: ${ip_addr}" while ! ssh-add -l &> /dev/null; do inotifywait -e create /tmp; done