Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Parameters associated with SSH channels
- Clark Smith
April 29, 2014, 4:17 pm
rate this thread
(or vice-versa; I'll just discuss the client-to-server case fore
conciseness) it sends an SSH_MSG_CHANNEL_OPEN packet specifying, among
other things, the initial window size and maximum packet size for the
When the server gets this packet, it will return (on success) an
SSH_MSG_CHANNEL_OPEN_CONFIRMATION, also specifying initial window size
and maximum packet size.
What is the meaning of the initial window size and maximum packet
size in each case?
My guess is that in an SSH_MSG_CHANNEL_OPEN packet the client is
specifying the constraints that the client imposes for receiving data
from the server on that channel, whereas in an
SSH_MSG_CHANNEL_OPEN_CONFIRMATION packet the server is specifying the
constraints that the server imposes for receiving data from the client on
that channel. The server also lets the client know, in this packet, the
identifier that it has assigned to this particuler channel, which may, or
may not, be the same as that assigned by the client.
Is this the correct interpretation of the standard?
Re: Parameters associated with SSH channels
Yes, that's right. The window size and max packet size quoted by each
party is a constraint on what the other party is permitted to send to
(You say 'client' and 'server' there, but don't forget that they're
not always that way round - for some channel types, e.g.
"forwarded-tcpip", the SSH server is the one that sends CHANNEL_OPEN
and the client responds with CHANNEL_OPEN_CONFIRMATION.)
Simon Tatham "Imagine what the world would be like if
- » Problem with process running on remote server accepting multi-byte string.
- — Next thread in » Secure Shell Forum
- » Re: Can someone explain why I need "hard" passwords?
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum