<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSH very slow in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950731#M752779</link>
    <description>Oh my god Chris,&lt;BR /&gt;This is very very unacceptable!&lt;BR /&gt;These documents(I am finaly able to search for forum questions) tell me that I just have to live with it that hp-ux 11.00 needs over a 20 seconds before it starts working due to a missing /dev/random/ or /dev/urandom.&lt;BR /&gt;&lt;BR /&gt;I don't know but I thought it was an HP software package I downloaded. We're talking about hp-ux 11.00 here not 9.X&lt;BR /&gt;&lt;BR /&gt;O my god, I am defintly NOT going to recommend to use ssh on HP-ux. Sorry but this is very disapointing.&lt;BR /&gt;&lt;BR /&gt;Thanks for your advise !&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
    <pubDate>Mon, 14 Apr 2003 15:56:46 GMT</pubDate>
    <dc:creator>David_246</dc:creator>
    <dc:date>2003-04-14T15:56:46Z</dc:date>
    <item>
      <title>SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950726#M752774</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to get SSH working&lt;BR /&gt;Currently I installed T1471AA (Version A.03.10.002), but when issuing "ssh &lt;SERVER&gt;" It is so very slow. Also scp, etc is very slow.&lt;BR /&gt;&lt;BR /&gt;When using rlogin or rcp, I have no performance issue at all. It's very clear that ssh is waiting for something, Ones I entered my password evrything works on normal speed again.&lt;BR /&gt;&lt;BR /&gt;I just installed this package so there might be somethin I forgot ?&lt;BR /&gt;Any help will be much apreciated !!&lt;BR /&gt;&lt;BR /&gt;Regs David&lt;BR /&gt;&lt;/SERVER&gt;</description>
      <pubDate>Mon, 14 Apr 2003 13:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950726#M752774</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-04-14T13:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950727#M752775</link>
      <description>Is telnet just as slow?? It could be the DNS reverse look-up that is performed for every telnet/ssh session.  Put the ip/hostname into /etc/hosts on the server with ssh of the system you are trying to connect from.</description>
      <pubDate>Mon, 14 Apr 2003 13:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950727#M752775</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2003-04-14T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950728#M752776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Nope everything is at normal speed. It's not DNS, it's just ssh that waits a very long time before it prompts for your password.&lt;BR /&gt;&lt;BR /&gt;A "tusc" is attached.&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Mon, 14 Apr 2003 13:48:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950728#M752776</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-04-14T13:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950729#M752777</link>
      <description>Hhhm,&lt;BR /&gt;Attachment looks very bad. Retry.</description>
      <pubDate>Mon, 14 Apr 2003 13:52:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950729#M752777</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-04-14T13:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950730#M752778</link>
      <description>Part of your problem is that you're probably connecting between HPUX 11.0 systems or earlier.  This has been addressed on this forum a couple of times, and you should be able to search and find the thread.&lt;BR /&gt;&lt;BR /&gt;Basically, HPUX 11.0 and earlier has to use an executable to generate a random number as part of the key pair encryption algorhythm.  Beginning with HPUX 11i and later, there is a /dev/random which significantly speeds up this process.  Connecting between two 11i boxes is very fast: sub-second response time across a gigabit connection between two fast computers.  If HPux 11.0 is on either side of that connection, the speed drops to 5-20 seconds to make the connection.  Between 11.0 systems, and the speed drops to 20 seconds plus, even on 550Mhz systems.  A lot of the speed issue is also related to the floating point speed of the system(s) you're using.&lt;BR /&gt;&lt;BR /&gt;Once the initial connection is made, however, the system should be just as fast as anything else: ftp, cp, or remsh.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 14 Apr 2003 14:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950730#M752778</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-04-14T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950731#M752779</link>
      <description>Oh my god Chris,&lt;BR /&gt;This is very very unacceptable!&lt;BR /&gt;These documents(I am finaly able to search for forum questions) tell me that I just have to live with it that hp-ux 11.00 needs over a 20 seconds before it starts working due to a missing /dev/random/ or /dev/urandom.&lt;BR /&gt;&lt;BR /&gt;I don't know but I thought it was an HP software package I downloaded. We're talking about hp-ux 11.00 here not 9.X&lt;BR /&gt;&lt;BR /&gt;O my god, I am defintly NOT going to recommend to use ssh on HP-ux. Sorry but this is very disapointing.&lt;BR /&gt;&lt;BR /&gt;Thanks for your advise !&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Mon, 14 Apr 2003 15:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950731#M752779</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-04-14T15:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950732#M752780</link>
      <description>You don't have to live with the 20 second response time.  Upgrade to 11i.  Thats one reason why there are later versions of O/S's.  Its faster in a lot of other ways as well.  We have a mixture of 11.0 and 11i systems here, and a definite time schedule to upgrade from one to the other (one that tends to slip, however).  &lt;BR /&gt;&lt;BR /&gt;Also, remember that this delay is ONLY during the initial connection.  Once the connection is made, the speed is as for anything else.  Its just a lot more secure.  When my DBA's complain about this delay, I remind them that we can upgrade the OS anytime we want to.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 14 Apr 2003 18:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950732#M752780</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-04-14T18:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950733#M752781</link>
      <description>We have a mix of 11.0 &amp;amp; 11i systems and have never experience such long delay.&lt;BR /&gt;&lt;BR /&gt;Try turn off reverse lookup checking and see if it improves throughput.&lt;BR /&gt;&lt;BR /&gt;What also help is by adding -v with ssh &amp;amp; scp and see what really it is waiting on.</description>
      <pubDate>Mon, 14 Apr 2003 20:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950733#M752781</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2003-04-14T20:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950734#M752782</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I run SSH on UX 11.00 without slowness.&lt;BR /&gt;&lt;BR /&gt;The trick is to configure SSH not to regenerate the key so often by editing the sshd_config file and using:&lt;BR /&gt;&lt;BR /&gt;KeyRegenerationInterval 3600&lt;BR /&gt;&lt;BR /&gt;Also make sure the size of the key is not too big, I use:&lt;BR /&gt;&lt;BR /&gt;ServerKeyBits 768&lt;BR /&gt;&lt;BR /&gt;Finally, as it will do a reverse lookup of the client connecting to SSH, you can speed up the process by caching the DNS on your HP, (see "man named").&lt;BR /&gt;&lt;BR /&gt;Cheers...&lt;BR /&gt;(Of course, I was assuming you use OpenSSH2).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 04:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950734#M752782</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-04-15T04:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950735#M752783</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I run SSH on UX 11.00 without slowness.&lt;BR /&gt;&lt;BR /&gt;The trick is to configure SSH not to regenerate the key so often by editing the sshd_config file and using:&lt;BR /&gt;&lt;BR /&gt;KeyRegenerationInterval 3600&lt;BR /&gt;&lt;BR /&gt;Also make sure the size of the key is not too big, I use:&lt;BR /&gt;&lt;BR /&gt;ServerKeyBits 768&lt;BR /&gt;&lt;BR /&gt;Finally, as it will do a reverse lookup of the client connecting to SSH, you can speed up the process by caching the DNS on your HP, (see "man named").&lt;BR /&gt;&lt;BR /&gt;Cheers...&lt;BR /&gt;(Of course, I was assuming you use OpenSSH2).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 04:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950735#M752783</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-04-15T04:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950736#M752784</link>
      <description>If using OpenSSH2, then:&lt;BR /&gt;&lt;BR /&gt;In /opt/openssh2/etc/sshd_config, set key regeneration interval to something better than the default, I use:&lt;BR /&gt;&lt;BR /&gt;KeyRegenerationInterval 3600&lt;BR /&gt;&lt;BR /&gt;Also, set the key length to something a little less taxing on the system:&lt;BR /&gt;&lt;BR /&gt;ServerKeyBits 768&lt;BR /&gt;&lt;BR /&gt;Finally, cache your DNS on the HP system using named, so reverse lookups run faster or just use the hosts file and no DNS.&lt;BR /&gt;&lt;BR /&gt;Might reduce the security a little, but at least it performs well and is a darn site more secure than telnet.&lt;BR /&gt;&lt;BR /&gt;My settings are as follows:&lt;BR /&gt;&lt;BR /&gt;me@myhp /opt/openssh2/etc &amp;gt; cat sshd_config&lt;BR /&gt;Port 22&lt;BR /&gt;HostKey /opt/openssh2/etc/ssh_host_key&lt;BR /&gt;HostKey /opt/openssh2/etc/ssh_host_dsa_key&lt;BR /&gt;ServerKeyBits 768&lt;BR /&gt;LoginGraceTime 600&lt;BR /&gt;KeyRegenerationInterval 3600&lt;BR /&gt;PermitRootLogin no&lt;BR /&gt;IgnoreRhosts yes&lt;BR /&gt;StrictModes yes&lt;BR /&gt;X11Forwarding no&lt;BR /&gt;X11DisplayOffset 10&lt;BR /&gt;PrintMotd yes&lt;BR /&gt;KeepAlive yes&lt;BR /&gt;SyslogFacility AUTH&lt;BR /&gt;LogLevel INFO&lt;BR /&gt;RhostsAuthentication no&lt;BR /&gt;RhostsRSAAuthentication no&lt;BR /&gt;RSAAuthentication yes&lt;BR /&gt;PasswordAuthentication yes&lt;BR /&gt;PermitEmptyPasswords no&lt;BR /&gt;Subsystem       sftp    /opt/openssh2/libexec/sftp-server&lt;BR /&gt;&lt;BR /&gt;Cheers...</description>
      <pubDate>Tue, 15 Apr 2003 04:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950736#M752784</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-04-15T04:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950737#M752785</link>
      <description>Sorry for the multiple posts, my browser has been "interesting" lately.</description>
      <pubDate>Tue, 15 Apr 2003 04:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950737#M752785</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-04-15T04:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950738#M752786</link>
      <description>Also; there can be delays with using inetd - as it produces the random number each time there is a delay.&lt;BR /&gt;&lt;BR /&gt;Running it as a daemon can produce some performance enhancements for initial connection.</description>
      <pubDate>Tue, 15 Apr 2003 09:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950738#M752786</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2003-04-15T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950739#M752787</link>
      <description>This current thread&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x908a19434a69d711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x908a19434a69d711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;may also be relevant here.  -Tim</description>
      <pubDate>Tue, 15 Apr 2003 11:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950739#M752787</guid>
      <dc:creator>Tim Maletic</dc:creator>
      <dc:date>2003-04-15T11:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950740#M752788</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your thread, this indeed gave the solution !! I have been searching for answers but didn't came up with this one.&lt;BR /&gt;&lt;BR /&gt;/opt/ssh/etc/ssh_prng_cmds&lt;BR /&gt;&lt;BR /&gt;should have many entries deleted !! (I would have sworn it is an HP created package, some commands even don't excist on HP ??)&lt;BR /&gt;&lt;BR /&gt;Michael, Many thanks for your assistance !! You gave me some info about a working install, although it didn't come to an answer your help is still apreciated !!&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Wed, 16 Apr 2003 05:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950740#M752788</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-04-16T05:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950741#M752789</link>
      <description />
      <pubDate>Wed, 30 Apr 2003 13:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950741#M752789</guid>
      <dc:creator>HPUX admin_1</dc:creator>
      <dc:date>2003-04-30T13:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950742#M752790</link>
      <description>I just installed Secure Shell 3.5.  It totally improved my connect speed issue.  Now everything is instantaneous.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 02 May 2003 21:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950742#M752790</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-02T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: SSH very slow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950743#M752791</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;you wrote that installing Openssh 3.5 would fix the problem... this is right but only because the supplied ssh_prng_cmds is broken! It does not generate ANY entropy at all!&lt;BR /&gt;If you take a look at the file you see many entries like @PROG_LS@ which normaly should contain "/bin/ls" etc. The result is, that the commands are not found and no entropy is generated. Verify this by issueing the command /opt/ssh/libexec/ssh-rand-helper -vvv :&lt;BR /&gt;20166: debug1: loading PRNG seed from file //.ssh/prng_seed&lt;BR /&gt;20166: debug1: Seeded RNG with 3 bytes from system calls&lt;BR /&gt;20166: debug1: Loaded 52 entropy commands from /opt/ssh/etc/ssh_prng_cmds&lt;BR /&gt;20166: debug3: Reading output from 'ls -alni /var/log'&lt;BR /&gt;20166: debug3: Time elapsed: 1 msec&lt;BR /&gt;20166: debug2: Command 'ls -alni /var/log' exit status was 255&lt;BR /&gt;20166: debug3: Got 0.00 bytes of entropy from 'ls -alni /var/log'&lt;BR /&gt;20166: debug3: Reading output from 'ls -alni /var/adm'&lt;BR /&gt;20166: debug3: Time elapsed: 1 msec&lt;BR /&gt;*snip*&lt;BR /&gt;Every entry returns 255 (file not found)... this is far from being OK.&lt;BR /&gt;&lt;BR /&gt;In addition the ssh_prng_cmds is not modified to follow HP-UX syntax of some commands, e.g. ls -alTi is not valid, ifconfig -a does not give any usable output, netstat -pn needs more options to display any "random data" etc...&lt;BR /&gt;HP, please fix this in all versions of openssh!&lt;BR /&gt;While doing this, please remove the df commands because it prevents you from logging in if the server has stale NFS mounts.&lt;BR /&gt;&lt;BR /&gt;In general, to answer the first question, ssh-rand-helper -vvv is your friend if you have performance  problems (and no /dev/random).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin&lt;BR /&gt;</description>
      <pubDate>Wed, 07 May 2003 09:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-very-slow/m-p/2950743#M752791</guid>
      <dc:creator>Armin Kunaschik</dc:creator>
      <dc:date>2003-05-07T09:01:29Z</dc:date>
    </item>
  </channel>
</rss>

