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

3,721 Comments

  1. Eugeneslemi Eugeneslemi

    Обзор посвящён процессу восстановления после зависимостей. Мы расскажем о различных этапах реабилитации, поддерживающих ресурсах и важности мотивации в достижении устойчивого выздоровления.
    Погрузиться в детали – трезвый путь

  2. Hello! I just wanted to ask if you ever have any trouble with hackers?
    My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no backup.
    Do you have any methods to prevent hackers?

  3. Marlonstunc Marlonstunc

    В этой публикации мы обсуждаем современные методы лечения различных заболеваний. Читатели узнают о новых медикаментах, терапиях и исследованиях, которые активно применяются для лечения. Мы нацелены на то, чтобы предоставить практические знания, которые могут помочь в борьбе с недугами.
    Нажмите, чтобы узнать больше – клиники кодирования от алкоголизма мск

  4. I’m amazed, I have to admit. Seldom do I come across a blog that’s equally educative and entertaining, and without a
    doubt, you have hit the nail on the head.
    The issue is something too few people are speaking intelligently about.
    Now i’m very happy I found this during my search for something relating to this.

Leave a Reply

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