<?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 hang on pseudo terminal initialization in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034695#M739852</link>
    <description>Which version of hpux version?  11.00 or older?&lt;BR /&gt;&lt;BR /&gt;Two things I found.&lt;BR /&gt;If /var/adm/wtmp is huge it can take a while.  You may try to zero it out.&lt;BR /&gt;&lt;BR /&gt;Also from what I read 11.00 or older doesn't come with a random number generator?&lt;BR /&gt;If you do a search there are some suggestions on how to fix this.&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Mar 2007 13:16:58 GMT</pubDate>
    <dc:creator>Dave Hutton</dc:creator>
    <dc:date>2007-03-19T13:16:58Z</dc:date>
    <item>
      <title>ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034689#M739846</link>
      <description>&lt;!--!*#--&gt;Good day to all.  Has anyone had any issues with OpenSSH on HP-UX B.11.11 and pseudo terminals?  I have a box with 'OpenSSH_4.2p1-hpn' and 'OpenSSL 0.9.7i'.  When I connect in using ssh, there is a long delay (5-20 seconds) before I actually get a pseudo terminal allocated (times depend on system activity).  If I ssh from another box to run a command not using a pseudo terminal, there is no delay.  I also have 2 other HP-UX servers with the same software version, but with fewer processors and less memory and I don't have the same issue on those.  Any help on this is greatly appreciated.  Thanks for your time.&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 19 Mar 2007 08:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034689#M739846</guid>
      <dc:creator>Brian Malone</dc:creator>
      <dc:date>2007-03-19T08:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034690#M739847</link>
      <description>In my experience, such delays are usually caused by name resolution issues.&lt;BR /&gt;&lt;BR /&gt;You could either make sure the server you're connecting to can resolve your client's address, or you can disable the use of dns by sshd through the config file.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Mon, 19 Mar 2007 09:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034690#M739847</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-03-19T09:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034691#M739848</link>
      <description>Thanks for the fast response.  I'm connecting just fine with no delay.  It's just after successful authentication, it takes on average 15 seconds to actually get a working shell.  It doesn't seem to matter if I use PubKey authentication or password.  Once successfully authenticated, it's just a delay to get a prompt.  Here's some verbose output from ssh:&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Mar 2007 09:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034691#M739848</guid>
      <dc:creator>Brian Malone</dc:creator>
      <dc:date>2007-03-19T09:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034692#M739849</link>
      <description>Yes, that's what I usually get when resolution is not ok: login, delay, shell.&lt;BR /&gt;&lt;BR /&gt;If possible, could you try placing your client's name + IP address in /etc/hosts on the server and retry ? (that's usually how I check, minimal hassle)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Mon, 19 Mar 2007 09:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034692#M739849</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-03-19T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034693#M739850</link>
      <description>Thanks.  I added the IP and hostname to /etc/hosts and it's set to check hosts first then dns.  I still have the same behavior.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.  Appreciate your time.</description>
      <pubDate>Mon, 19 Mar 2007 09:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034693#M739850</guid>
      <dc:creator>Brian Malone</dc:creator>
      <dc:date>2007-03-19T09:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034694#M739851</link>
      <description>myes, and sorry. thought about it on the way home, the delay I was talking about did occur between username and pass prompt.&lt;BR /&gt;&lt;BR /&gt;No more 'from experience' ideas, though.. does running ssh very verbose show anything ? Or perhaps you could fire up glance on the server end meanwhile, if it seems performance related.&lt;BR /&gt;&lt;BR /&gt;Sorry again about the previous :)&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Mon, 19 Mar 2007 13:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034694#M739851</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-03-19T13:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034695#M739852</link>
      <description>Which version of hpux version?  11.00 or older?&lt;BR /&gt;&lt;BR /&gt;Two things I found.&lt;BR /&gt;If /var/adm/wtmp is huge it can take a while.  You may try to zero it out.&lt;BR /&gt;&lt;BR /&gt;Also from what I read 11.00 or older doesn't come with a random number generator?&lt;BR /&gt;If you do a search there are some suggestions on how to fix this.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Mar 2007 13:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034695#M739852</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2007-03-19T13:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034696#M739853</link>
      <description>Not sure how many times I re-read your message.  I see you said 11.11.&lt;BR /&gt;&lt;BR /&gt;Ignore my suggestions.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Mar 2007 13:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034696#M739853</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2007-03-19T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034697#M739854</link>
      <description>You can try disabling the revere lookup by uncommenting the following line in sshd_config:&lt;BR /&gt;&lt;BR /&gt;#UseDNS yes&lt;BR /&gt;&lt;BR /&gt;and changing it to:&lt;BR /&gt;&lt;BR /&gt;UseDNS no&lt;BR /&gt;&lt;BR /&gt;Then restart the ssh daemon. Hope that helps. If not then at least you have eliminated that as the problem.</description>
      <pubDate>Mon, 19 Mar 2007 13:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034697#M739854</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-19T13:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034698#M739855</link>
      <description>Also, tail -f the syslog.log file and try and connect. You should see the login attempts in that file. Maybe you'll find something interesting.</description>
      <pubDate>Mon, 19 Mar 2007 13:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034698#M739855</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-19T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034699#M739856</link>
      <description>Thanks for all the suggestions.  Dave nailed it with the excessively large wtmp.  I've put a rotate script in to copy wtmp and compress it and blank out the orig.  That cleared up the slowness completely.&lt;BR /&gt;&lt;BR /&gt;Thanks again, Dave!&lt;BR /&gt;&lt;BR /&gt;Brian&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Mar 2007 13:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034699#M739856</guid>
      <dc:creator>Brian Malone</dc:creator>
      <dc:date>2007-03-19T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hang on pseudo terminal initialization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034700#M739857</link>
      <description>Thanks for all the suggestions. Dave nailed it with the excessively large wtmp. I've put a rotate script in to copy wtmp and compress it and blank out the orig. That cleared up the slowness completely.&lt;BR /&gt;&lt;BR /&gt;Thanks again, Dave!&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 19 Mar 2007 13:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hang-on-pseudo-terminal-initialization/m-p/5034700#M739857</guid>
      <dc:creator>Brian Malone</dc:creator>
      <dc:date>2007-03-19T13:33:56Z</dc:date>
    </item>
  </channel>
</rss>

