Packet_write_wait: Connection to port 22: Broken pipe

After a recent update, my rasbpi 2 has turned a bit sour: it rejects all ssh connections categorically with:

packet_write_wait: Connection to 192.168.0.4 port 22: Broken pipe

This happens immediately after the authentication has succeeded. Here some output from the ssh using the verbose flag:

debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: Authentication succeeded (publickey).
Authenticated to 192.168.0.4 ([192.168.0.4]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
packet_write_wait: Connection to 192.168.0.4 port 22: Broken pipe

ssh generally works ok in my home network.

How can I start debugging this this? It’s a bit cumbersome … I have to turn off my rasbpi, rip off the sd card, plug it into my laptop and see the ssh log or something… any other suggestions?

Regards,

Sampsa

What device are you connecting from?
What software are you using?

I’m going to take a guess at a PC running Windows 10…

If you are using Putty, make sure you have the latest version.

Hi,

I’m connecting with Ubuntu 18. Same problem with Ubuntu 16. Using the normal ssh command.

Regards,

Sampsa

Could be either a full device or a SD Card issue.
Upload logs via MyOSMC