问题
I am currently trying to use the bluemix container service (in beta)
When I want to create a new container, I follow the steps, and just choose the name and the ports to open. I paste a SSH, and at the end I get the error :
"Unable to create container. Error message returned is: Bad Request".
Whereas if I do not paste my key, there is no problem.
I have tried with another key, created with puttygen, and I still get the same error.
I don't know what is wrong, as I basically chose the default options.
I have tried with the browsers firefox & opera on windows.
How can I solve this?
回答1:
Use a public key of the form "ssh-rsa", space, 200+ characters ending in ==, space, username@hostname. I generated mine using ssh-keygen -t rsa
. I pasted the entire contents of the generated .pub file.
来源:https://stackoverflow.com/questions/30350517/unable-to-connect-through-ssh-key-to-bluemix-container