我正在 openshift 服务器上使用 jboss catridge。我希望与其他人共享此实例并添加其他用户的公钥 (id_rsa.pub)。当其他人尝试访问该实例时,他会收到以下错误。我在他的实例中尝试了同样的方法,但看到了同样的错误。与 openshift 实例共享代码并在开发人员之间同步代码的最佳方式是什么?目前我们还没有私有的 Github 存储库。请指教。
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)
我终于让这个工作通过:
- 将我转换后的密钥(.ppk 文件)从 puttygen 添加到 pageant。
- 使用 putty 访问 openshift 服务器中定义的 git url。
ssh 和 git 访问现在都可以正常工作。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)