DescriptionGenerate SSH keys if none exist.
This is step 2: provide the user with the option to let Quickstart generate SSH keys.
Note: this is now an incremental branch, with better checks on ssh identities in the future; there's a card to represent this on the kanban board.
To test: make check
to QA:
1. mv ~/.ssh ~/.ssh.old
2a. .venv/bin/python juju-quickstart # should ask if you want to generate; say no, should exit
2b. .venv/bin/python juju-quickstart # should ask if you want to generate; say yes, shoud prompt for password, then continue, generating a new key
3. mv ~/.ssh.old ~/.ssh
4. ssh-agent
5. ssh-add
6. .venv/bin/python juju-quickstart # should bootstrap
https://code.launchpad.net/~makyo/juju-quickstart/ssh-2-create-keys/+merge/198135
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 14
Patch Set 2 : Generate SSH keys if none exist. #Patch Set 3 : Generate SSH keys if none exist. #
MessagesTotal messages: 6
|