使用Git往github上提交代码时出现[packet_write_wait connection to xx.xx.xx.xx Broken pipe]错误的解决办法:
找到git安装的目录/etc/ssh,打开ssh_config文件,在其中修改(或者添加)如下两行代码:
01 Host *
02 ServerAliveInterval 120
本文介绍了解决在使用Git向GitHub提交代码时遇到的[packet_write_waitconnectiontoxx.xx.xx.xxBrokenpipe]错误的方法。通过修改或添加ssh_config文件中的两行配置,可以有效避免该问题。
找到git安装的目录/etc/ssh,打开ssh_config文件,在其中修改(或者添加)如下两行代码:
01 Host *
02 ServerAliveInterval 120
3071
2万+
477

被折叠的 条评论
为什么被折叠?
