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 c3960cc80c1a5b5e5ccd3805a3e3b3e5d96aa1a3 Author: Bernard Ogden bernie.ogden@linaro.org Date: Thu Jul 23 15:05:52 2015 +0200
Put onetime key into agent
Change-Id: I492cfb87a7b545e5640d4d09bdec39d6f1609746 --- invoke_session_debian | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 278ba51..ee1d249 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -68,11 +68,13 @@ if ! ssh-keygen -P '' -f ~/data/onetime > /dev/null < /dev/null; then rm -rf ~/data exit 1 fi +eval `ssh-agent` +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 -i ~/data/onetime -o StrictHostKeyChecking=no localhost true; then +if ! ssh -o StrictHostKeyChecking=no localhost true; then echo "Failed to ssh to self" >&2 exit 1 fi