errorno 54
生成SSH密钥文件:
ssh-keygen -t rsa -f ~/.ssh/id_rsa_github -C "yanghongliyhl@126.com"
把自定义的密钥文件加入ssh中:
ssh-add ~/.ssh/id_rsa_github
查看密钥情况:
ssh -Tgit@github.com
结果:
Hi lydia130! You've successfully authenticated, but GitHub does not provide shell access.
下载github的库:
git clone git@github.com:CocoaPods/Specs.git ~/.cocoapods/repos/master
最后切记要:
pod repo update
网友评论