Dominik Zalewski
2007-Mar-20 15:05 UTC
OpenSSH 4.6 error: channel 0: chan_read_failed for istate 3
Hi All, After upgrading to openssh-portable-4.6.p1,1 I'm getting following messages in logs: error: channel 0: chan_read_failed for istate 3 Althought ssh works fine. Any ides? Thank you in advance, Dominik
Christian Walther
2007-Mar-20 16:06 UTC
OpenSSH 4.6 error: channel 0: chan_read_failed for istate 3
On 20/03/07, Dominik Zalewski <dzalewski@open-craft.com> wrote:> Hi All, > > After upgrading to openssh-portable-4.6.p1,1 I'm getting following messages in > logs: > > error: channel 0: chan_read_failed for istate 3I guess you're either using scp or ssh to execute remote commands? We've the same issue on our Solaris boxes. The only workaround we found so far was to comment out the error(..) statement responsible for the output of the above line. It's located in nchan.c in the chan_read_failed() function. I'm sorry but I'm not at work, otherwise I could supply a diff. HTH anyway, Christian
Johan Ström
2007-Mar-24 12:10 UTC
OpenSSH 4.6 error: channel 0: chan_read_failed for istate 3
On Mar 20, 2007, at 16:04 , Dominik Zalewski wrote:> Hi All, > > After upgrading to openssh-portable-4.6.p1,1 I'm getting following > messages in > logs: > > error: channel 0: chan_read_failed for istate 3 > > Althought ssh works fine.Hi, just wan't to report that I've started to see the same thing since i upgraded to 4.6.p1,1. Every night my backup server uses scp to transfer files from my box, and I see this: Mar 23 21:00:04 elfi sshd[76875]: Accepted publickey for root from 2001:xxx::xxx:xx port 63449 ssh2 Mar 23 21:01:18 elfi sshd[76875]: error: channel 0: chan_read_failed for istate 3 Mar 23 21:01:18 elfi sshd[76875]: error: channel 0: chan_read_failed for istate 3 Mar 23 21:01:18 elfi sshd[77389]: Accepted publickey for root from 2001: xxx::xxx:xx port port 63450 ssh2 Mar 23 21:53:31 elfi sshd[77389]: error: channel 0: chan_read_failed for istate 3 Mar 23 21:53:32 elfi sshd[77389]: error: channel 0: chan_read_failed for istate 3 Mar 23 21:53:34 elfi sshd[85742]: Accepted publickey for root from 2001: xxx::xxx:xx port port 49493 ssh2 Mar 23 21:53:34 elfi sshd[85742]: error: channel 0: chan_read_failed for istate 3 Mar 23 21:53:34 elfi sshd[85742]: error: channel 0: chan_read_failed for istate 3 The backup process works by first executing a pre-script, then scp'ing, then executing a post-script.. so those errors looks like they appear directly when the ssh session is disconnected. Anyone else with clues? Johan Str?m Stromnet johan@stromnet.se http://www.stromnet.se/