I recently bought a brand new Raspberry PI Zero W and flashes rasbian lite onto an SD card and tried to SSH into the pi.
However, after adding in the ssh and the wifi details default files to the boot directory, I kept running into the
channel 0: open confirm rwindow 0 rmax 32768
issue.
I then flashed the "full-fat" rasbian image onto the SD and that worked fine, I SSH'd in first time, so I disabled the desktop and went about with my intentions for this pi.
However yesturday I borked the installation bad and so tried to reflash the SD card, this time though, I can't get past the same channel 0
issue I had before, and I've flashed nearly every OS the raspberry pi imager program allows, and even used the etcher software to flash the card just encase it was the rasbperry pi flashing software at fault.
I have a raspberry pi 4 connected to the same network I've never had any trouble SSH'ing into, and I can run one time commands via SSH on my pi zero perfectly, I've tried updating the pi this way to see if anything changed but it hasn't.
1 Answer 1
So apprently there are all sorts of possible fixes for this, the one that worked for me is:
ssh [email protected] 'echo IPQoS 0x00 | sudo tee -a /etc/ssh/sshd_config'
ssh [email protected] 'sudo shutdown -r now'
-
For anyone else who comes across this in the future, you need to add
IPQoS 0x00
to/etc/ssh/sshd_config
if you are ssh-ing to a pi zero. You need to addIPQoS 0x00
to/etc/ssh/ssh_config
if you are ssh-ing from a pi zero. Or just add it to both to be safe.Patrick Conwell– Patrick Conwell2022年09月15日 20:52:49 +00:00Commented Sep 15, 2022 at 20:52
-o IPQoS=0 and -o ProxyCommand='nc %h %p'
and the reboot of the router?