lp:~axwalk/juju-core/ssh-gocrypto-client
Created by
Andrew Wilkins
and last modified
- Get this branch:
- bzr branch lp:~axwalk/juju-core/ssh-gocrypto-client
Only
Andrew Wilkins
can upload to this branch. If you are
Andrew Wilkins
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
On hold
for merging
into
lp:~go-bot/juju-core/trunk
- Juju Engineering: Pending requested
-
Diff: 1981 lines (+1114/-188)26 files modifiedcloudinit/sshinit/configure.go (+14/-6)
cmd/juju/scp.go (+3/-5)
cmd/juju/scp_test.go (+7/-1)
cmd/juju/ssh.go (+4/-1)
cmd/juju/ssh_test.go (+5/-12)
environs/config/authkeys.go (+14/-6)
environs/manual/fakessh.go (+21/-12)
environs/manual/init.go (+14/-4)
environs/manual/init_test.go (+4/-4)
environs/manual/provisioner.go (+3/-3)
environs/sshstorage/storage.go (+7/-5)
environs/sshstorage/storage_test.go (+26/-18)
environs/testing/bootstrap.go (+2/-1)
juju/conn.go (+10/-8)
juju/conn_test.go (+9/-6)
provider/common/bootstrap.go (+29/-9)
provider/common/bootstrap_test.go (+8/-7)
utils/ssh/authorisedkeys.go (+1/-1)
utils/ssh/clientkeys.go (+193/-0)
utils/ssh/clientkeys_test.go (+139/-0)
utils/ssh/ssh.go (+145/-62)
utils/ssh/ssh_gocrypto.go (+197/-0)
utils/ssh/ssh_openssh.go (+180/-0)
utils/ssh/ssh_test.go (+48/-17)
utils/trivial.go (+10/-0)
utils/trivial_test.go (+21/-0)
Branch information
Recent revisions
- 2160. By Andrew Wilkins
-
Auto-generate SSH client keys
At initialisation time, Juju now creates $JUJU_HOME/ssh
if it doesn't exist, and populates it with a new key pair.
This key pair will be used if the client cannot connect
with any other key pair on the system (or if there are none).The utils/ssh package now falls back to the go.crypto/ssh
client, which will use the auto-generated key. - 2159. By Andrew Wilkins
-
Enable bootstrapping via go.crypto/ssh
If the default SSH client is not available
at bootstrap time, then a new key pair is
generated (in memory), and go.crypto/ssh
is used to bootstrap with that. The private
key is not recorded anywhere.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~go-bot/juju-core/trunk