git Disconnected: No supported authentication methods available (server sent: publickey)
---------------------------
TortoiseGitPlink Fatal Error
---------------------------
Disconnected: No supported authentication methods available (server sent: publickey)
---------------------------
确定
---------------------------
解决方法:
这个是使用tortoiseGit引起的。
解决方法是在设置-网络-ssh客户端里选择更换成xxxx\Git\usr\bin\ssh.exe
git 添加访问github的ssh秘钥。
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- 先在本地的git bash里用命令生成密码.
ssh-keygen -C '自己的邮箱@xxx.com' -t rsa
生成的密码默认保持即可.
- 将生成的id_rsa.pub里的内容考到github的setting里的ssh and GPG key里。
作为新生成的sshkey. - 可通过ssh -T git@github.com 测试ssh秘钥有没有生效。
再push代码到github上就ok了。
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方法
g[it](https://link.jianshu.com/?t=http://lib.csdn.net/base/git) config --global http.postBuffer 524288000
需要注意的是http.postBuffer 后,单位是b,524288000B也就500M左右
网友评论