已断开连接:没有可用的支持身份验证方法(服务器已发送:publickey,gssapi-keyex,gssapi-with-mic)+ openshift

时间:2016-04-13 17:37:23

标签: cmd server cloud openshift

我无法使用rhc命令连接到openshift上的应用程序

这是我在尝试连接时得到的内容

 C:\Users\soulhiS>rhc ssh myapp
 DL is deprecated, please use Fiddle
 RSA 1024 bit CA certificates are loaded due to old openssl compatibility
 Connecting to 56e736655650001b4@myapp-mydomain.rhcloud.com ...
 Using username "56e736655650001b4".
 FATAL ERROR: Disconnected: No supported authentication methods available(server sent: publickey,gssapi-keyex,gssapi-with-mic)

1 个答案:

答案 0 :(得分:0)

Make sure that your ssh key is accessible (run the command line as administrator, if needed) and it is the one OpenShift expects - i.e. check that a corresponding public key is uploaded to OpenShift. For uploading your public ssh key to OpenShift, you can run rhc setup.