S.K.R. de Jong <
SK...@nowhere.net> wrote:
> The comment makes me wonder if PuTTY is not proceeding according
> to the SSH specification here: in RFC 4254, section 5.3, it is explicitly
> said that either party may send an SSH_MSG_CHANNEL_EOF packet to signal
> that it has no more data to send through the particular channel.
That's missing the point. Either party can initiate shutdown of an SSH
channel in general and it's legal at the SSH level, but depending on
what protocol is being spoken over that channel, it might not be legal
at the level of that protocol. That error message is talking about
unexpectedness in the SCP protocol, not the SSH protocol beneath it.
That said, you are right that this is a bug. It's fixed in the
development snapshots (specifically, r10016).
--
Simon Tatham "Imagine what the world would be like if
<
ana...@pobox.com> there were no hypothetical situations..."