Revision history [back]

click to hide/show revision 1
initial version

Best way to incorporate multiple SSH key pairs into VM's?

I'm familiar with the ability to add an SSH key under a user's Access & Security section of the Horizon dashboard, but I'm looking for an alternative method which would allow me as the administrator of all the VM's within an OpenStack environment to be able to include my SSH pub key in addition to any others that user's will include into VM's that spin up within the various tenants/projects.

Ideally this method would allow me to have my key included from my Access & Security settings as well as part of the cloud-init when the VM's are created.

Right now we have a SSH pub key that's essentially baked into the Glance images that are used, but I don't like that method and was looking for alternatives that are easier to maintain and more flexible.

Best way to incorporate multiple SSH key pairs into VM's?

I'm familiar with the ability to add an SSH key under a user's Access & Security section of the Horizon dashboard, but I'm looking for an alternative method which would allow me as the administrator of all the VM's within an OpenStack environment to be able to include my SSH pub key in addition to any others that user's will include into VM's that spin up within the various tenants/projects.

Ideally this method would allow me to have my key included from my Access & Security settings as well as part of the cloud-init when the VM's are created.

Right now we have a SSH pub key that's essentially baked into the Glance images that are used, but I don't like that method and was looking for alternatives that are easier to maintain and more flexible. I should also note that all our VMs are provisioned with random root passwords, and setting it to a known password isn't something we're interested in doing either.

Best way to incorporate multiple SSH key pairs into VM's?

I'm familiar with the ability to add an SSH key under a user's Access & Security section of the Horizon dashboard, but I'm looking for an alternative method which would allow me as the administrator of all the VM's within an OpenStack environment to be able to include my SSH pub key in addition to any others that user's will include into VM's that spin up within the various tenants/projects.

Ideally this method would allow me to have my key included from my Access & Security settings as well as part of the cloud-init when the VM's are created.

Right now we have a SSH pub key that's essentially baked into the Glance images that are used, but I don't like that method and was looking for alternatives that are easier to maintain and more flexible. I should also note that all our VMs are provisioned with random root passwords, and setting it to a known password isn't something we're interested in doing either.

Interesting leads