coding.net的ssh连接时出现hostkey的问题

按照官网的方法配置公钥后,输入命令ssh -T git@git.coding.net时候出现

The authenticity of host 'git.coding.net (blahblah)' can't be established.
RSA key fingerprint is 
blahblah.
Are you sure you want to continue connecting (yes/no)? 
Host key verification failed.

这是为什么?

我coding上的项目能够正常push和pull,github也可以,而且对github使用ssh -T也是正常的

阅读 7.4k
1 个回答

我刚刚也遇到了这个问题,然后我百度了一下,https://coding.net/help/doc/g...,这里面讲到了这个问题,然后呢,在(yes/no)? 后面输入yes即可,如下:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.coding.net,124.165.217.67' (RSA) to the list of known hosts.
Hello Bacchus! You've connected to Coding.net via SSH successfully!

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进