前几天折腾了下 hexo github 的玩法,今天想换个主题,按照网上提供的教材
在终端输入
git clone https://github.com/iissnan/hexo-theme-next.git themes/hexo-theme-next
结果就出现了
ssh:Could not resolve hostname github.com:nodename nor servname provided, or not know
fatal:Could not read from remote repository
来此求救
我百度过,也 google 过,网上的方法大概是把 https 的写法改成 [email protected] 我试过,这样操作会出现如下问题 Cloning into 'themes/hexo-theme-next'... The authenticity of host 'github.com (192.30.252.121)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,192.30.252.121' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.