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

320 Comments

  1. Terrific work! That is the kind of information that should be shared across the internet. Shame on Google for not positioning this publish upper! Come on over and talk over with my website . Thank you =)

  2. Ahaa, its fastidious conversation concerning this piece of writing here at this web site, I have read all that, so at this time me also commenting at this place.

  3. Every weekend i used to visit this web site, for the reason that i wish for enjoyment, for the reason that this this website conations truly good funny stuff too.

Leave a Reply

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