Re: Does ssh use telnet options?



caswick <caswick@xxxxxxxxx> wrote:
When using ssh to login to a remote server, does ssh also use telnet
options invisibly?

No, it doesn't, but the SSH protocol contains its own messages which
do many of the same things.

If ssh doesn't use telnet options, how are things like window size
communicated to the remote server so vi or less or other things know
your window size? I've searched a long time and can't seem to find
the answer. Thanks for any help!

Your definitive reference for this sort of question iks the
specifications for the SSH protocol: RFC 4521-4254 inclusive. RFC
4254 is likely to contain most of what you're after.

You mentioned window size as an example. This is dealt with in two
places in RFC 4254: section 6.2 describes the SSH message which sets
up a terminal device on the server, in which the client also
specifies the starting window size, and section 6.7 describes the
SSH message which the client sends in mid-session to indicate that
the window size has changed.
--
Simon Tatham "infinite loop _see_ loop, infinite"
<anakin@xxxxxxxxx> - Index, Borland Pascal Language Guide
.



Relevant Pages

  • Re: SSh internal window size.. (again)
    ... > Julian Elischer wrote: ... >> there is an internal windowing going on in the ssh protocol with a ... The problem is that the sshd seems to eb setting the receive window size to ...
    (SSH)
  • Re: Reverse SSH tunnel times out way too quickly
    ... > ServerAliveInterval, on the server and client sides respectively. ... > designed to detect half-dead connections within the SSH protocol, ...
    (comp.security.ssh)
  • Re: [SLE] suse 10.0 and putty
    ... I am getting the exact same thing. ... I faced the same problem i tried with different SSH protocol ... In my case the "Preferred protocol version" is 2 (but I guess that the ... client can switch to 1 if necessary). ...
    (SuSE)
  • Re: FreeBSD + SSH2 buffer problem
    ... >> client and server for V.2 SSH protocol). ... you say you're not using openssh. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: SSH Message: Enabling compatibility mode for protocol 2.0
    ... Because the connection is using SSH protocol version 2. ... run the client in debug mode to begin with. ... Richard Silverman ...
    (comp.security.ssh)