hexo搭建博客的坑 Host key verification failed

最近看到了hexo,感觉挺不错的,我看中他的原因在他用markdown语法源文件是放在你电脑里的,而不是放在数据库里面,部署也不需要后台管理。

说说我从知道hexo到上线部署的路程吧,总共就一天。

安装hexo的方法网上太多教程了,不说了。我想说的是在用hexo d部署时的一个坑:

当我们生成了ssh的公钥和私钥后通过下面的命令测试
ssh -T [email protected]
有可能会出现:

The authenticity of host 'github.com (192.30.252.1)' 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)?

或者是

The authenticity of host 'github.com (192.30.252.1)' can't be established.
RSA key fingerprint is nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)?

一定要输入yes回车没用

会报错

Host key verification failed.

[获取授权]

你可能感兴趣的:(hexo搭建博客的坑 Host key verification failed)