optionally fetch public ssh keys from Launchpad when starting an instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland | ||
cloud-utils (Ubuntu) |
Fix Released
|
Wishlist
|
Dustin Kirkland | ||
eucalyptus (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: euca2ools
The euca-run-instance command has a -k parameter that takes the name of a ssh key registered with eucalyptus.
I find this highly inconvenient (albeit consistently inconvenient with EC2).
Generating these keys every time I install UEC, and having to move them around to any machine where I want to access an image is kind of silly.
For those of us that have Launchpad.net accounts, and registered public SSH keys there, it would be really handy if euca-run-instance supported something like the following:
euca-
or perhaps even a list:
euca-
As part of the instantiation process, Eucalyptus (or perhaps euca2ools?) would wget https:/
I understand this is not part of the EC2 api/spec. However, the EC2 api/spec is a bit arcane here. We can and should do much better than that for UEC, especially leveraging other infrastructure we have access to, such as Launchpad.
summary: |
- have -k support existing ssh keys + fetch public ssh keys from Launchpad when running an instance |
summary: |
- fetch public ssh keys from Launchpad when running an instance + optionally fetch public ssh keys from Launchpad when starting an + instance |
affects: | euca2ools (Ubuntu) → cloud-utils (Ubuntu) |
Changed in cloud-utils (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in cloud-utils (Ubuntu): | |
status: | In Progress → Fix Committed |
Note that euca-run-instance "-k" option does not use a generic public key file as its parameter... but rather the name of a keypair registered in Eucalyptus through euca-add-keypair. So you would miss the private key...
Maybe it would be simpler to support it through ec2-config ? Like having an extra option to install SSH authorized_keys from LP during boot ?