github ssh -T git@github.com ssh key建立失败

创建github账户操作失败。
具体操作如下:

1.打开gitbash,
2. ssh-keygen -t rsa -C "my_mailaddress_" //在目录下~/.ssh 下生成 id_rsa id_rsa.pub
3. cd到~/.ssh目录下, clip < id_rsa.pub //拷贝到粘贴板
4. 然后再github网站上 add ssh key
以上都正常

但是:
Administrator@SU2UBZP0BSW9O46 ~/.ssh
$ ssh -T git@github.com
The authenticity of host 'github.com (192.30.255.113)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?

似乎是rss key有问题,我又重新生成rsskey,重新github add ssh key,报错还是一样。
查了下log:
Administrator@SU2UBZP0BSW9O46 ~/.ssh
$ ssh -v git@github.com
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to github.com [192.30.255.113] port 22.
debug1: Connection established.
debug1: identity file /c/SPB_Data/.ssh/identity type -1
debug1: identity file /c/SPB_Data/.ssh/id_rsa type 1
debug1: identity file /c/SPB_Data/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version libssh-0.7.0
debug1: no match: libssh-0.7.0
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-sha1 none
debug1: kex: client->server aes128-cbc hmac-sha1 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
The authenticity of host 'github.com (192.30.255.113)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?

似乎还是rss key原因,请问各位大神,是否还有其他原因呢?操作哪里不正确啊? 谢谢

3个回答

是不是网络有问题,连接不上github。

我的也是 你解决了没

是key的问题,重新试试看

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问