Skip to content

Raspberry Pi with Raspbian dropping SSH connection

I was playing with my Raspberry PI with Raspbian and the ssh connection was dropping (or timeouting, or something like this), I got a “Broken Pipe” message, and If I tried to connect again, it refuses it.

I don’t know why, but to fix it edit /etc/ssh/sshd_config with

sudo nano /etc/ssh/sshd_config

Search for TCPKeepAlive and update it from yes to no

TCPKeepAlive no

It doesn’t make sense, I know, but it worked.

Abraços

Published inRaspberry PI

2,955 Comments

  1. Thank you for any other informative blog. Where else may I get that kind
    of info written in such an ideal means? I’ve a
    venture that I am just now running on, and I’ve been at the look out for such information.

  2. Hello would you mind sharing which blog platform you’re working with?
    I’m going to start my own blog soon but I’m having
    a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique.
    P.S My apologies for getting off-topic but I had to ask!

Leave a Reply

Your email address will not be published. Required fields are marked *