Professional Web Applications Themes

telnet vs Openssh - SCO

Will someone please, login into their Openserver 5.0.? with telnet and do a stty -a and check the baud rate and then do the same with Openssh and do another stty -a and report the differences in baud rate. This may be why I am seeing a slow down in screen drawing with Openssh. Thanks wj...

  1. #1

    Default telnet vs Openssh

    Will someone please, login into their Openserver 5.0.? with telnet and do a
    stty -a and check the baud rate and then do the same with Openssh and do
    another stty -a and report the differences in baud rate.

    This may be why I am seeing a slow down in screen drawing with Openssh.

    Thanks
    wj


    willjay Guest

  2. #2

    Default Re: telnet vs Openssh

    willjay typed (on Wed, Sep 03, 2003 at 01:52:40PM -0400):
    | Will someone please, login into their Openserver 5.0.? with telnet and do a
    | stty -a and check the baud rate and then do the same with Openssh and do
    | another stty -a and report the differences in baud rate.

    I get 9600 under ssh, 38400 under telnet.

    | This may be why I am seeing a slow down in screen drawing with Openssh.

    Define "screen drawing".

    Running tcsh on both the ssh and the telnet logins, I ran

    time cat /usr/lib/terminfo/t*src

    The results are close enought to be the same.

    0.00u 0.57s 0:26.05 2.1%
    0.00u 0.59s 0:26.84 2.1%

    --
    JP
    Jean-Pierre Guest

  3. #3

    Default Re: telnet vs Openssh

    On Wed, 3 Sep 2003 13:52:40 -0400, "willjay" <com>
    wrote:
     

    # customquery listpatches | head -2
    SCO:Unix::5.0.6Ga rs506a.Unix506.1.0a CSSA_2002_SCO_39.506.SCO.Unix
    SCO:Unix::rs506a.Unix506.1.0a


    This is what I get logging into my development system via ssh (using
    AlphaCom on a Windoze XP system):

    # ssh -V
    OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f

    (This OpenSSH is Roberto Zini's compilation found on Tony Lawrence's
    FTP site)

    # stty -a
    speed 9600 baud; ispeed 9600 baud; ospeed 9600 baud; line =
    0(tty);
    rows = 25; columns = 80; ypixels = 0; xpixels = 0;
    intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^;
    swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;
    -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
    -ortsfl -ctsflow -rtsflow
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl
    -iuclc
    -ixon -ixany -ixoff
    isig icanon -xcase echo -echoe -echok -echonl -noflsh
    -iexten -tostop -xclude
    opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
    -isscancode
    -autoe -ed_emacs -ed_vi -ed_history


    And now telnet (using AlphaCom again):

    # stty -a
    speed 38400 baud; ispeed 38400 baud; ospeed 38400 baud; line =
    0(tty);
    intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^;
    swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;
    -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
    -ortsfl -ctsflow -rtsflow
    -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
    ixon ixany -ixoff
    isig icanon -xcase echo -echoe echok -echonl -noflsh
    -iexten -tostop -xclude
    opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
    -isscancode


    I'm pretty sure I see where you are heading with this, but my screen
    draws faster via the ssh connection than the telnet connection (at
    least in the little testing I did).


    Scott McMillan

    Scott Guest

  4. #4

    Default Re: telnet vs Openssh

    willjay wrote:
     

    If you're seeing a slowdown, it must be due to client implementation.
    You didn't say what client you're using. If the ssh client defaults to
    compression _on_, try telling it to turn it off -- it may be slow at
    uncompressing (though in most cases compression should actually make
    things _faster_).

    "baud rate" doesn't really mean anything on a pseudo-tty. Feel free to
    run `stty 38400` (or `stty 921600`, for that matter) on your ssh
    session. It won't make any difference.

    One exception: the _application_ you're running may ask the OS what baud
    rate is being used, and then act differently. Depending on how old the
    app is, it may not understand OSR5 baud rates above 9600; or it may
    understand 19200 and 38400, but not higher rates. In those cases it may
    act oddly. For instance, the encoding for 57600 baud may "look" like 50
    baud to an old app. Then it might do long delays, thinking it had to
    wait for your slow terminal to catch up.
     
    Bela Guest

  5. #5

    Default Re: telnet vs Openssh

    Make a dialup connection to your server and check the differences, I'm
    seeing huge slow down on dialup to my server. Openssh is not tolerable and
    telnet is just fine.

    Do you know how to set ssh to 38
    "Scott McMillan" <net> wrote in message
    news:com... [/ref]

    >
    > # customquery listpatches | head -2
    > SCO:Unix::5.0.6Ga rs506a.Unix506.1.0a CSSA_2002_SCO_39.506.SCO.Unix
    > SCO:Unix::rs506a.Unix506.1.0a
    >
    >
    > This is what I get logging into my development system via ssh (using
    > AlphaCom on a Windoze XP system):
    >
    > # ssh -V
    > OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
    >
    > (This OpenSSH is Roberto Zini's compilation found on Tony Lawrence's
    > FTP site)
    >
    > # stty -a
    > speed 9600 baud; ispeed 9600 baud; ospeed 9600 baud; line =
    > 0(tty);
    > rows = 25; columns = 80; ypixels = 0; xpixels = 0;
    > intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^;
    > swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;
    > -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
    > -ortsfl -ctsflow -rtsflow
    > -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl
    > -iuclc
    > -ixon -ixany -ixoff
    > isig icanon -xcase echo -echoe -echok -echonl -noflsh
    > -iexten -tostop -xclude
    > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
    > -isscancode
    > -autoe -ed_emacs -ed_vi -ed_history
    >
    >
    > And now telnet (using AlphaCom again):
    >
    > # stty -a
    > speed 38400 baud; ispeed 38400 baud; ospeed 38400 baud; line =
    > 0(tty);
    > intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^;
    > swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;
    > -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
    > -ortsfl -ctsflow -rtsflow
    > -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
    > ixon ixany -ixoff
    > isig icanon -xcase echo -echoe echok -echonl -noflsh
    > -iexten -tostop -xclude
    > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
    > -isscancode
    >
    >
    > I'm pretty sure I see where you are heading with this, but my screen
    > draws faster via the ssh connection than the telnet connection (at
    > least in the little testing I did).
    >
    >
    > Scott McMillan
    >[/ref]


    willjay Guest

  6. #6

    Default Re: telnet vs Openssh

    explain AlphaCom?
    wj

    "Scott McMillan" <net> wrote in message
    news:com... [/ref]

    >
    > # customquery listpatches | head -2
    > SCO:Unix::5.0.6Ga rs506a.Unix506.1.0a CSSA_2002_SCO_39.506.SCO.Unix
    > SCO:Unix::rs506a.Unix506.1.0a
    >
    >
    > This is what I get logging into my development system via ssh (using
    > AlphaCom on a Windoze XP system):
    >
    > # ssh -V
    > OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
    >
    > (This OpenSSH is Roberto Zini's compilation found on Tony Lawrence's
    > FTP site)
    >
    > # stty -a
    > speed 9600 baud; ispeed 9600 baud; ospeed 9600 baud; line =
    > 0(tty);
    > rows = 25; columns = 80; ypixels = 0; xpixels = 0;
    > intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^;
    > swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;
    > -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
    > -ortsfl -ctsflow -rtsflow
    > -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl
    > -iuclc
    > -ixon -ixany -ixoff
    > isig icanon -xcase echo -echoe -echok -echonl -noflsh
    > -iexten -tostop -xclude
    > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
    > -isscancode
    > -autoe -ed_emacs -ed_vi -ed_history
    >
    >
    > And now telnet (using AlphaCom again):
    >
    > # stty -a
    > speed 38400 baud; ispeed 38400 baud; ospeed 38400 baud; line =
    > 0(tty);
    > intr = DEL; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^;
    > swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;
    > -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
    > -ortsfl -ctsflow -rtsflow
    > -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
    > ixon ixany -ixoff
    > isig icanon -xcase echo -echoe echok -echonl -noflsh
    > -iexten -tostop -xclude
    > opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
    > -isscancode
    >
    >
    > I'm pretty sure I see where you are heading with this, but my screen
    > draws faster via the ssh connection than the telnet connection (at
    > least in the little testing I did).
    >
    >
    > Scott McMillan
    >[/ref]


    willjay Guest

  7. #7

    Default Re: telnet vs Openssh

    Bela Lubkin wrote: 
    >
    > If you're seeing a slowdown, it must be due to client implementation.
    > You didn't say what client you're using. If the ssh client defaults to
    > compression _on_, try telling it to turn it off -- it may be slow at
    > uncompressing (though in most cases compression should actually make
    > things _faster_).
    >
    > "baud rate" doesn't really mean anything on a pseudo-tty. Feel free to
    > run `stty 38400` (or `stty 921600`, for that matter) on your ssh
    > session. It won't make any difference.
    >
    > One exception: the _application_ you're running may ask the OS what baud
    > rate is being used, and then act differently. Depending on how old the
    > app is, it may not understand OSR5 baud rates above 9600; or it may
    > understand 19200 and 38400, but not higher rates. In those cases it may
    > act oddly. For instance, the encoding for 57600 baud may "look" like 50
    > baud to an old app. Then it might do long delays, thinking it had to
    > wait for your slow terminal to catch up.
    > [/ref]

    I have experienced this on dialup when the SSH on the server (or client
    for that matter) doesn't do compression. Then the modem can compress
    the telnet traffic, but not the SSH traffic. Perhaps someone else here
    can tell you how to turn on compression for your version/installation
    of SSH (which you didn't specify).

    -Greg
    Greg Guest

  8. #8

    Default Re: telnet vs Openssh

    On Wed, 3 Sep 2003 16:46:51 -0400, "willjay" <com>
    wrote:
     [/ref]
    >a [/ref][/ref]
    <stty results snipped>
    <top-post reverted> 

    I don't have a dialup connection to this box - It's within my office's
    network. Did you see Bela's post regarding compression?
     

    I have no idea what the above line means.

    <from a follow-up post> 

    AlphaCom is the SSH/Telnet client I am using on my Windoze box to
    connect to my SCO system running OpenSSH
    (http://www.omnicomtech.com/). I also connect to that SCO system from
    home with AlphaCom. I have found lags similar to - but not anywhere
    near the point of intolerable - those you are referring to, however
    latency/IP overhead/etc. all come into play on remote connections.

    Check out the compression on/off idea Bela posted earlier.


    Scott McMillan
    Scott McMillan

    Scott Guest

Similar Threads

  1. How do you telnet from 1 host to another using Telnet Module
    By mark1.thompson45@btinternet.com in forum PERL Modules
    Replies: 5
    Last Post: December 30th, 10:13 PM
  2. Net::Telnet problem with MS Telnet Service
    By texbmex in forum PERL Modules
    Replies: 2
    Last Post: June 24th, 04:52 PM
  3. compiling openssh 3.7p1 on aix 5.1
    By Tim Bruijnzeels in forum AIX
    Replies: 0
    Last Post: September 17th, 11:46 AM
  4. OpenSSH & autostart
    By Piotr Szumny in forum AIX
    Replies: 0
    Last Post: August 5th, 03:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139