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

4,983 Comments

  1. It’s nearly impossible to find knowledgeable people for this subject, however,
    you seem like you know what you’re talking about! Thanks

  2. I needed to thank you for this excellent read!!
    I certainly enjoyed every little bit of it. I have got you bookmarked
    to look at new stuff you post…

  3. RalphJum RalphJum

    Этот информативный текст сочетает в себе темы здоровья и зависимости. Мы обсудим, как хронические заболевания могут усугубить зависимости и наоборот, как зависимость может влиять на общее состояние здоровья. Читатели получат представление о комплексном подходе к лечению как физического, так и психического состояния.
    Только для своих – medelen ru самара

  4. whoah this weblog is magnificent i love reading your articles.
    Keep up the great work! You understand, a lot of people are searching
    around for this info, you can aid them greatly.

  5. I am not sure where you’re getting your information, but great topic.
    I needs to spend some time learning much more or understanding more.
    Thanks for great information I was looking for this info for my
    mission.

  6. Having read this I believed it was rather informative.
    I appreciate you finding the time and effort to put this content together.
    I once again find myself personally spending a lot of
    time both reading and commenting. But so what, it was still worthwhile!

  7. I’m gone to convey my little brother, that he should also pay a quick visit this
    blog on regular basis to take updated from newest reports.

  8. Thanks for any other magnificent article. Where else may anyone get that kind of information in such
    a perfect method of writing? I’ve a presentation subsequent week, and I am at the search for such info.

  9. you’re really a good webmaster. The website loading
    speed is amazing. It sort of feels that you’re doing any distinctive
    trick. In addition, The contents are masterpiece. you have performed a excellent activity
    on this topic!

Leave a Reply

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