最近看到了hexo,感覺挺不錯的,我看中他的原因在他用markdown語法源文件是放在你電腦里的,而不是放在數(shù)據(jù)庫里面,部署也不需要后臺管理。
說說我從知道hexo到上線部署的路程吧,總共就一天。
安裝hexo的方法網(wǎng)上太多教程了,不說了。我想說的是在用hexo d部署時的一個坑:
當(dāng)我們生成了ssh的公鑰和私鑰后通過下面的命令測試
ssh -T git@github.com
有可能會出現(xiàn):
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.