git clone error Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the

Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Permission denied (publickey).

當 git clone xxxx/xxxx 的時候報錯了。git

解決辦法:github

vim /etc/hostsvim

192.30.253.113 github.com

而後ssh

$ ssh-keygen -t rsa -C "1148743058@qq.com"code

密鑰設置好就可使用了。it

從新git cloneio

相關文章
相關標籤/搜索