5

我在 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)
4

2 回答 2

7

我终于让这个工作了:

  1. 将转换后的密钥(.ppk 文件)从 puttygen 添加到 pagent。
  2. 使用 putty 访问在 openshift 服务器中定义的 git url。

ssh 和 git 访问现在都可以正常工作。

于 2013-02-12T04:27:08.673 回答
0

如果您使用 GSSAPI 进行身份验证,您的系统和服务器必须启用它。根据您的错误消息,这似乎是失败前最后一次尝试的身份验证形式。

于 2013-02-09T23:31:57.197 回答