Juju needs ssh keys available to run. This ensures via ssh-add that
there are keys available to the agent; if not, it exits with
instructions on how to generate a key.
To test: make check
To QA:
1. mv ~/.ssh ~/.ssh.old
2. .venv/bin/python juju-quickstart # should produce error
3. mv ~/.ssh.old ~/.ssh
4. ssh-agent
5. ssh-add
6. .venv/bin/python juju-quickstart # should bootstrap
*** Submitted:
SSH keys 1: abort if no keys
Juju needs ssh keys available to run. This ensures via ssh-add that
there are keys available to the agent; if not, it exits with
instructions on how to generate a key.
To test: make check
To QA:
1. mv ~/.ssh ~/.ssh.old
2. .venv/bin/python juju-quickstart # should produce error
3. mv ~/.ssh.old ~/.ssh
4. ssh-agent
5. ssh-add
6. .venv/bin/python juju-quickstart # should bootstrap
R=gary.poster /codereview. appspot. com/37930043
CC=
https:/
https:/ /codereview. appspot. com/37930043/