f_super 2017-04-01 00:28 采纳率: 0%
浏览 3656

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原因,请问各位大神,是否还有其他原因呢?操作哪里不正确啊? 谢谢

  • 写回答

4条回答 默认 最新

  • wchasedream 2020-06-23 08:55
    关注

    这不是问题啊,直接输入yes就可以了图片说明

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog