unable to connect through SSH key to bluemix container

杀马特。学长 韩版系。学妹 提交于 2019-12-13 21:07:42

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!