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

749 Comments

  1. I don’t know if it’s just me or if everybody else experiencing problems
    with your blog. It appears like some of the written text on your
    posts are running off the screen. Can someone else please comment and
    let me know if this is happening to them too? This may be a issue with my
    internet browser because I’ve had this happen previously.

    Kudos

    Also visit my blog post – webpage

Leave a Reply

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