[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#495917: openssh-client: unable to connect to Netscreen Devices with version 1:5.1p1-2



Hello,

A colleague tells me:

| There appears to be a bug in XOS switches that mean that if you try and
| ssh to them from a machine running openssh 4.7 or higher (this is the
| default on lenny) then you will fail to connect with a message "channel
| 0: open failed: resource shortage: Channel open failed".
| 
| This is down to an increase in the window size available in the ssh
| client. I've made a patched version of the openssh 5.1 binary which
| reduces the window size back to the pre  openssh 4.7 size (4k rather
| than 64k).
| 
| The work around is to change the advertised window size back to 4 from
| 64k in channels.h
| 
| 151c151
| < #define CHAN_SES_WINDOW_DEFAULT	(64*CHAN_SES_PACKET_DEFAULT)
| ---
| > #define CHAN_SES_WINDOW_DEFAULT	(4*CHAN_SES_PACKET_DEFAULT)
| 153c153
| < #define CHAN_TCP_WINDOW_DEFAULT	(64*CHAN_TCP_PACKET_DEFAULT)
| ---
| > #define CHAN_TCP_WINDOW_DEFAULT	(4*CHAN_TCP_PACKET_DEFAULT)

I've asked him to report the bug to Extreme too.

Dave


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



Reply to: