behaviour of exit-status in openssh
From: Glen Matthews (Glen_at_montreal.hcl.com)
Date: 09/19/05
- Previous message: Darren Tucker: "Re: Timeouty while using SFTP subsystem of OpenSSH."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 19 Sep 2005 14:34:38 -0400 To: <secureshell@securityfocus.com>
Hi,
I've noticed that I sometimes get the SSH2_MSG_CHANNEL_REQUEST
exit-status packet when executing a command with a small amount of text
output *before* the output. But the connection (draft?) RFC states that:
"The channel needs to be closed with SSH_MSG_CHANNEL_CLOSE after this
message."
which might imply that there should be no more output from the channel,
clearly as I observe not the way that openssh behaves (seen in 3.9p1 and
possibly later). The wording might also imply that it is the server
that needs to send the close message. Regardless, it would seem that
sending a CHANNEL_DATA message after this is wrong.
Is this intended behaviour or a bug?
Glen Matthews
- Previous message: Darren Tucker: "Re: Timeouty while using SFTP subsystem of OpenSSH."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|