From f063add71b66011cca8c313fe0c681b0f0e1b97f Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 23 Nov 2008 13:19:32 +0000 Subject: * Backport from upstream CVS (Markus Friedl): - Only send eow and no-more-sessions requests to openssh 5 and newer; fixes interop problems with broken ssh v2 implementations (closes: #495917). --- nchan.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nchan.c') diff --git a/nchan.c b/nchan.c index e0ebf43f1..d31c69b2f 100644 --- a/nchan.c +++ b/nchan.c @@ -387,6 +387,8 @@ chan_send_eow2(Channel *c) c->self); return; } + if (!(datafellows & SSH_NEW_OPENSSH)) + return; packet_start(SSH2_MSG_CHANNEL_REQUEST); packet_put_int(c->remote_id); packet_put_cstring("eow@openssh.com"); -- cgit v1.2.3