Ask Your Question
0

When I create a VM use keypair, what will happen?

asked 2017-09-12 04:20:22 -0600

liaodalin19903 gravatar image

Such as in Amazon, if I create a vm, and set keypair to it, what will happen?

If i set password to :123456, and create VM success. set the keypair.

Whether I login to the VM by using password 123456 or the others? such as encrypted 123456?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-13 06:00:44 -0600

Bernd Bausch gravatar image

When you create an instance with a keypair, Nova will make the public key available to the instance via the metadata server and/or the config-drive. On the instance, some software needs to pick up the key and add it to the authorized_hosts file. Normally, this software is cloud-init.

The keypair has nothing to do with the password. In fact, you use keypairs so that you don't need passwords.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-09-12 04:20:22 -0600

Seen: 33 times

Last updated: Sep 13