git download error processing

git clone git@github.com:happyfish100/fastdfs.git

提示下列信息:     

      Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
      Permission denied (publickey).
      fatal: Could not read from remote repository.

解决办法:

    1.  echo "192.30.253.112 github.com" >> /etc/hosts

    2.

    

      

 

     3.  登录github   [notice:首先要有注册的GitHub账号   没有的话自己注册一个]   按照下面的操作30秒就解决

      

 

  

 

posted @ 2018-10-07 14:54  超我  阅读(181)  评论(0编辑  收藏  举报