Code review comment for lp:~makyo/juju-quickstart/ssh-1-check-keys

Revision history for this message
Madison Scott-Clary (makyo) wrote :

*** 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
CC=
https://codereview.appspot.com/37930043

https://codereview.appspot.com/37930043/

« Back to merge proposal