问题描述
更新,今天git push
出现错误的ip
还不一样。。。
$ git push
packet_write_wait: Connection to 52.74.223.119 port 22: Broken pipe
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
$ git push -u origin master
packet_write_wait: Connection to 13.250.177.223 port 22: Broken pipe
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
git push
时出现错误:
$ git push
Counting objects: 46, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (46/46), done.
packet_write_wait: Connection to 13.250.177.223 port 22: Broken pipe
Writing obote end hung up unexpectedly.00 KiB | 2. T0he r0 KiemB/s
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly
问题出现的平台版本及自己尝试过哪些方法
我是从远程仓库克隆了项目到本地,git add
、git commit
之后就git push
不上去了,出现上述错误。
这是我在网上找过的方法,但是好像不太管用
ssh 登录报错 packet_write_wait: Connection to x.x.x.x port 22: Broken pipe
git: 记一次push的错误
相关代码
// 请把代码文本粘贴到下方(请勿用图片代替代码)
执行$ ssh -o ServerAliveInterval=120 myusername@13.250.177.223
也报错:
$ ssh -o ServerAliveInterval=120 myusername@13.250.177.223
Permission denied (publickey).
应该是权限问题
把本机的公钥(一般在是 ~/.ssh/id_rsa.pub)添加到你的仓库帐号中