top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What does the Broken pipe message mean in an SSH session under Unix/Linux Platform?

+1 vote
233 views
What does the Broken pipe message mean in an SSH session under Unix/Linux Platform?
posted Dec 7, 2014 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

It's possible that your server closes connections that are idle for too long. You can update either your client (ServerAliveInterval) or your server (ClientAliveInterval)

To update your server (and restart your sshd)

echo "ClientAliveInterval 60" | sudo tee -a /etc/ssh/sshd_config

Or client-side:

echo "ServerAliveInterval 60" >> ~/.ssh/config 
answer Dec 12, 2014 by Kali Mishra
...