Re: ssh .vs. rsh

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 01/23/04

  • Next message: Robert L Sowders: "Re: ssh .vs. rsh"
    Date: Sat, 24 Jan 2004 09:04:43 +1100
    To: Steve Bonds <05gekfc02@sneakemail.com>
    
    

    Steve Bonds wrote:

    > On Wed, 21 Jan 2004, Asif Iqbal iqbala-at-qwestip.net
    > |secureshell@securityfocus.com| wrote:
    >
    >
    >>We have users remotely accessing applications that has GUI in Solaris
    >>env. It responds real fast if you use rsh, but its pretty slow for
    >>openssh of any flavor. Is there way we can speed it up ? may be by using
    >>-c blowfish ?
    >
    >
    > If you're looking for better throughput, changing to blowfish will help.
    > However, it sounds like you're concerned about the response time. There
    > is significantly more connection setup involved in an SSH connection than
    > rsh, so it will always be slightly slower. However, if the connection
    > setup is extremely slow (on the order of several seconds), you might have
    > a problem.
    >
    > On some other platforms, the process of generating enough entropy for a
    > secure connection can take a fair amount of time (sometimes over 10
    > seconds). I didn't think this was a problem for Solaris, but it might be
    > worth looking into.
    >
    > Some other things to try:
    > + run ssh -v and see if one particular step hangs
    > + check that your entropy source is running quickly
    > - if you have /dev/random, be sure sshd is using it and it's not
    > being fully drained
    > - check the ssh_prng_cmds to see if any of them are very slow
    > on your system
    > + build a profiling version of sshd and run some tests to see where it
    > is slow
    >
    > Anyone else have suggestions?

    - Try it with compression on and off.

    - Install the /dev/random patch on both client and server (if you can).

    - Try the patch here:
    http://bugzilla.mindrot.org/show_bug.cgi?id=769

    - Build OpenSSL and OpenSSH with SPARCv8 (or v9) instructions (-mv8 for
    gcc). The hardware multiply makes a difference to connect time on slow
    machines.

    With those I got the (SSHv2) connect time on my SS5 down to just over 1
    sec. Faster machines ought to do better :-)

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
         Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Robert L Sowders: "Re: ssh .vs. rsh"

    Relevant Pages

    • Two Solaris 10 / Solaris Express problems: network + audio
      ... I've got two rather annoying problems (bugs?) that seem to like the ... As my machine is on the very low end of what is compatible with Solaris ... The first one is a classical problem of network connection. ... On to the audio problem now: this one hasn't changed between Solaris 10 ...
      (comp.unix.solaris)
    • Re: SCSA certification test lab suggestions
      ... I have both an Intel box running Solaris 8 and a Sun Ultra 10 also running ... Ultra 10 from EBay, with a 4.2g drive and 256mb RAM. ... video connection, typically only a serial connection for a terminal. ...
      (comp.unix.solaris)
    • Re: krb5 port: -current behaves differently than 4.X w.r.t rsh (possibly EPERM from bind)
      ... host sends a new SYN back to the client on the client's source port + 1. ... closing off the original connection attempt. ... I'd really like to get the Kerberos rsh client ...
      (freebsd-current)
    • Re: If you were inventing CoBOL...
      ... They can run Solaris alongside or instead of BS2000. ... >Fujitsu has had a range of Sun based servers that started as the ICL ... midrange system with 35 to 250 RPF (a FSC internal performance ... can be connected via HIPLEX load connection. ...
      (comp.lang.cobol)
    • ssh command behavior
      ... My application runs on Solaris and its ... which in turn started a process via rsh on the remote Solaris server. ... Now, I thought I can just simply replace the rsh with ssh, I supposed ...
      (SSH)