git@oschina 这次更新后原有服务器无法进行有效性验证

konakona 发布于 2014/11/16 07:24
阅读 5K+
收藏 0
[root@iZ94e503znjZ ~]# ssh -T -v git@oschina.net
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to oschina.net [61.145.122.155] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/identity-cert type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8
debug1: match: OpenSSH_5.8 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'oschina.net (61.145.122.155)' can't be established.
RSA key fingerprint is eb:2a:c2:28:63:43:71:d2:1c:da:6b:ff:c9:85:ff:54.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'oschina.net,61.145.122.155' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password

git@oschina.net's password: 



这个问题以前也遇到过,但是相同的方式似乎不能处理,这里只好发出来请大家帮忙看下,么么哒。

证书缓存和证书我已经删除,重新创建过(新添加了public key)。

加载中
0
Zoker
Zoker

ssh -vT git@ git.oschina.net


不是oschina.net哦

Zoker
Zoker
现在试试呢,重新添加key能用吗
Zoker
Zoker
回复 @konakona : 麻烦给我留言,或者回复到帖中看看
konakona
konakona
一样.
0
konakona
konakona

引用来自“Zoker”的评论

ssh -vT git@ git.oschina.net


不是oschina.net哦

[root@iZ94e503znjZ ~]# ssh -Tv git@git.oschina.net
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to git.oschina.net [124.202.141.153] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/identity-cert type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2
debug1: match: OpenSSH_6.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'git.oschina.net (124.202.141.153)' can't be established.
RSA key fingerprint is e3:ee:82:78:fb:c0:ca:24:65:69:ba:bc:47:24:6f:d4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.oschina.net,124.202.141.153' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
git@git.oschina.net's password: 
konakona
konakona
回复 @Zoker : root
Zoker
Zoker
你一直用的root用户进行pull代码的吗?您是用哪个用户生成的key呢?
0
cfanbo
cfanbo
试了不行,密码总是提示不对,奇怪了
0
mou
mou
遇到同样的问题
0
你要爪子
你要爪子
等过两天稳定再搞吧。。。
0
ideaa
ideaa
我也用不了
konakona
konakona
上次使用过程中遇到了一个namespace的bug=。= 后来虽然帮我还原了git才能继续使用,但是这个问题似乎一直存在=,,= 我也是用得……好累……上半年才处理过类似证书的问题..也是因为更新-,,-
0
刘天择
我也是,登录不过去,密码提示错误
红薯
红薯
重新设置下证书吧,目前的确有部分用户由此问题,重设证书就可以解决
0
konakona
konakona

果断先用https继续使用,ssh依然不行。  

红薯
红薯
你重新添加一下 SSH 的 KEY 就好了:)
0
ideaa
ideaa
@红薯 昨天重新添加了SSH key,今天有时正常的 显示welcome to Git@OSC, 有时候提示输密码
红薯
红薯
你的机器应该是属于对安全要求特别高的,现在git有两个服务器对外服务
0
东方皓
东方皓
@红薯 今天重新添加了SSH key,SSH连接,还是要输入密码,无法正常连接,怎么办?
返回顶部
顶部