Prob­lem: Write Failed: Bro­ken Pipe

Solu­tion: If you ever face SSH Time­out errors while con­nect­ing to your serv­er via SSH, here is what to do:

If you're using Put­ty, go to Change Set­tings > Con­nec­tions and in the "Sec­onds between keepalives" box, enter 10. If you're using Lin­ux as the client OS, open the /etc/ssh/ssh_config file and add Server­AliveIn­ter­val 10 at the end of the file. Save the file.
Now your con­nec­tion should work prop­er­ly. Try set­ting the val­ue a bit high­er and see if the error isn't being regen­er­at­ed. Try exper­i­ment­ing with the val­ue and see how far you can go. For exam­ple, if things are work­ing fine at "10" then try set­ting "20" or "30" or even high­er and see if there is any prob­lem.
Tagged with →  
Share →
%d bloggers like this: