Ask Your Question

Same Key Pair manual download gives other private key while keeping the same public key???

asked 2016-11-09 08:40:27 -0500

anva gravatar image

I have created a Key Pair. Intructed the new instance to use this new key. Downloaded the key "A key pair named 'merge' was successfully created. This key pair should automatically download. If not, you can manually dowload this keypair at the following link:" manually by following the link. Then I said to the instance to not use that key by clicking "-" and then I "+" it again to use it for that instance and then asked to download again the private key. The surprize was that it differs from the previous one but the public key is the same. Please let me know why this happens. I know RSA is one to one key, one public and one private. not one public and many privates as I get when downloading manually. Hope I was clear enought, if not let me know and I will try explaining better.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-10 05:37:43 -0500

volenbovsky gravatar image

Hi, you should be able to download private key once and only once - in the way if you let Nova create keypair - then at that moment Horizon offers you to download it, let's call it Keypair 1 I would be suprised to see that you 'then asked to download that key' when clicking '+' in eg. launch instance When you click on '+' it should ask to import (_upload_) and that is _public_ key. And that means you are dealing with another keypair, "Keypair 2" (and that is import of public key for which you have private key 'somewhere', that is you used ssh-keygen sometime in past)

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


Asked: 2016-11-09 08:40:27 -0500

Seen: 226 times

Last updated: Nov 10 '16