Feb 102011

Every time I reinstall my system I have to add the line below to my /etc/ssh/ssh_config to avoid “Write failed: Broken pipe” issue.

ServerAliveInterval 120

  3 Responses to “SSH Write failed: Broken pipe”

  1. Nice tip!

    Alternatively edit /etc/ssh/ssh*d*_config on SSH servers that you connect to from multiple clients.

    Instead of ServerAliveInterval, enable ClientAliveInterval.

    It’s a matter of personal preference, but I use these values:
    ClientAliveInterval 15
    ClientAliveCountMax 3

  2. ssh_config or sshd_config on server?

  3. ssh_config on your pc

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Get Adobe Flash player