Search This Blog

Monday, December 9, 2013

How to automatically deploy your public ssh key to Openstack cloud server

Keeping secure all your  passwords when creating new cloud servers is very unpractical and it is a big management burden.


How to create a new cloud server and automatically deploy ssh authorized_keys file with our public ssh key.

Solution description with demonstration
  • Generate a new pub and private key pair that your are going to be using with key authentication for all new cloud servers
  • Rename and save your keys so you don't override them (keep the private key secure of course!)
  • Create a  new cloud server (cs) with your public key saved automatically in authorized_keys file
  • Login to cs using your private key


No comments:

Post a Comment