git [packet_write_wait connection to xx.xx.xx.xx Broken pipe]解决办法

来源:互联网 发布:c语言第五版 编辑:程序博客网 时间:2024/06/08 04:38

问题描述

  使用Git,向github上提交代码的时候,出现[packet_write_wait connection to xx.xx.xx.xx Broken pipe]错误,如下图所示:

  这里写图片描述

解决方法

  找到git安装的目录/etc/ssh,打开ssh_config文件,在其中修改(或者添加)

Host *  ---->Host在上图中找到  ServerAliveInterval 120  

附录

  • Error encountered when setup Github on Mac “Write failed: Broken pipe”
0 0
原创粉丝点击