SSH到Openshift服务器失败 [英] SSH to Openshift server fails
问题描述
我正在使用openshift服务器上的jboss catridge。我正在寻找与另一个人分享这个实例,并添加了另一个用户的公钥(id_rsa.pub)。当其他人尝试访问该实例时,他正在获取下面的错误。我尝试了他们与他的实例相同,我看到了同样的错误。与openshift实例共享代码并在开发人员之间同步代码的最佳方式是什么?这一点我们没有私人的Github回购。请指教。
2013-02-09 14:37:47连接到54.234.36.245端口22
2013-02-09 14:37:47服务器版本:SSH-2.0-OpenSSH_5.3
2013-02-09 14:37:47使用SSH协议版本2
2013-02-09 14:37:47我们声称版本:SSH-2.0-PuTTY_Release_0.61
2013-02-09 14:37:47做Diffie-Hellman组交换
2013-02-09 14:37:47做Diffie-Hellman密钥交换hash SHA-256
2013-02-09 14:37:51主机密钥指纹是:
2013-02-09 14:37:51 ssh-rsa 2048 cf:ee:77:cb:0e :fc:02:d7:72:7e:ae:80:c0:90:88:a7
2013-02-09 14:37:51初始化AES-256 SDCTR客户端 - >服务器加密
2013-02-09 14:37:51初始化HMAC-SHA1客户端 - >服务器MAC算法
2013-02-09 14:37:51初始化AES-256 SDCTR服务器 - >客户端加密
2013-02-09 14:37:51初始化HMAC-SHA1服务器 - >客户端MAC算法
2013-02-09 14:37:51使用SECUR32.DLL中的SSPI
2013-02- 09 14:37:51 GSSAPI身份验证请求被拒绝
2013-02-09 14:37:5 1访问被拒绝
2013-02-09 14:37:51断开连接:没有支持的身份验证方法可用(服务器发送:publickey,gssapi-keyex,gssapi-with-mic)
解决方案
- 将我的转换密钥(.ppk文件)从puttygen添加到pagent中。 使用putty访问openshift服务器中定义的git url
li>
现在ssh和git访问都正常工作。
I am working with jboss catridge on a openshift server. I am looking to share this instance with another person and added the other user' s public key(id_rsa.pub). When the other person tries to access the instance he is getting the error below. I tried them same with his instance and I am seeing the same error. What is the best way to share code with the openshift instance and synching the code between developers. Al this point we dont have a private Github repo. Please advise.
2013-02-09 14:37:47 Connecting to 54.234.36.245 port 22 2013-02-09 14:37:47 Server version: SSH-2.0-OpenSSH_5.3 2013-02-09 14:37:47 Using SSH protocol version 2 2013-02-09 14:37:47 We claim version: SSH-2.0-PuTTY_Release_0.61 2013-02-09 14:37:47 Doing Diffie-Hellman group exchange 2013-02-09 14:37:47 Doing Diffie-Hellman key exchange with hash SHA-256 2013-02-09 14:37:51 Host key fingerprint is: 2013-02-09 14:37:51 ssh-rsa 2048 cf:ee:77:cb:0e:fc:02:d7:72:7e:ae:80:c0:90:88:a7 2013-02-09 14:37:51 Initialised AES-256 SDCTR client->server encryption 2013-02-09 14:37:51 Initialised HMAC-SHA1 client->server MAC algorithm 2013-02-09 14:37:51 Initialised AES-256 SDCTR server->client encryption 2013-02-09 14:37:51 Initialised HMAC-SHA1 server->client MAC algorithm 2013-02-09 14:37:51 Using SSPI from SECUR32.DLL 2013-02-09 14:37:51 GSSAPI authentication request refused 2013-02-09 14:37:51 Access denied 2013-02-09 14:37:51 Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
解决方案I finally got this to work by:
- Adding my converted key(.ppk file) from puttygen to pagent.
- Accessing the git url that is defined in the openshift server using putty.
Both ssh and git access are working correctly now.
这篇关于SSH到Openshift服务器失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!