1. 程式人生 > >使用git往github上提交程式碼時出現[packet_write_wait connection to xx.xx.xx.xx Broken pipe]錯誤的解決辦法

使用git往github上提交程式碼時出現[packet_write_wait connection to xx.xx.xx.xx Broken pipe]錯誤的解決辦法

使用git往github上提交程式碼時出現[packet_write_wait connection to xx.xx.xx.xx Broken pipe]錯誤的解決辦法:

        找到git安裝的目錄/etc/ssh,開啟ssh_config檔案,在其中修改(或者新增)

Host *
ServerAliveInterval 120

就OK了