<?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: Long ssh login times in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703849#M528145</link>
    <description>&lt;P&gt;I&amp;nbsp;apologize if my post was too vague, I'll try to be more straight forward with my posts in the future.&lt;/P&gt;&lt;P&gt;I've tried adding:&lt;/P&gt;&lt;P&gt;UseDNS no&lt;BR /&gt;GSSAPIAuthentication no&lt;BR /&gt;to the ssh_config file and so no change in remote login time whatsoever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I compare the output of ssh -vvv to the problematic server compared to the output I get when connecting to other servers, I saw no difference. Regardless, I'll post the exact output tomorrow when I get back to the office.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To clarify what I posted regarding different shells and users, here is each action and its result:&lt;/P&gt;&lt;P&gt;Remote ssh login to user A - &amp;gt; 10-15 sec login time after entering password&lt;/P&gt;&lt;P&gt;Local login to user A- &amp;gt; 10-15 sec login time after entering password&lt;/P&gt;&lt;P&gt;Local login to user B-&amp;gt; 10-15 sec login time after entering password&lt;/P&gt;&lt;P&gt;Remote login using command&amp;nbsp;&lt;SPAN&gt;'ssh A@&amp;lt;server&amp;gt; "/bin/ksh"' -&amp;gt; near instant login&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Running a remote command using ssh (like&amp;nbsp;'ssh A@&amp;lt;server&amp;gt; &amp;nbsp;"ls -l"') -&amp;gt; instant output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thanks for your help and thanks&amp;nbsp;&lt;SPAN class="login-bold"&gt;Steven Schweda for helping me clarify my issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2015 19:51:00 GMT</pubDate>
    <dc:creator>alont</dc:creator>
    <dc:date>2015-02-03T19:51:00Z</dc:date>
    <item>
      <title>Long ssh login times</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703709#M528143</link>
      <description>&lt;P&gt;Hello everyone, we have a problem with one of our servers running HP-UX 11.31.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to login to the server via ssh, after entering the password as prompted, there is a 10-15 second delay beofre the login process finishes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried checking if this is DNS related and changing the config file with little effect.&lt;/P&gt;
&lt;P&gt;I've tried connecting to the server with ssh -vvv but nothing out of the ordinery was found.&lt;/P&gt;
&lt;P&gt;If I try to login to the user locally, it's almost instant. If I try to login to a different user using ssh, I get the same problem.&lt;/P&gt;
&lt;P&gt;oddly enough, I've tried running a command through ssh (for example, 'ssh &amp;lt;user&amp;gt;@&amp;lt;server&amp;gt; &amp;nbsp;"ls -l"') and the output was returned instantly with no delay.&lt;/P&gt;
&lt;P&gt;Also, trying to connect to the server using a different shell (e.g 'ssh &amp;lt;user&amp;gt;@&amp;lt;server&amp;gt; "/bin/ksh"') is also instant. This led me to believe there was a problem with the shell startup script but I've found nothing out of the ordinary in it, and like I already mentioned, a local login is instant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any further ideas or suggestions? Any help would be much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved&amp;nbsp;from HP-UX &amp;gt; System Administration to HP-UX &amp;gt; Networking. - Hp Forum Moderator&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 02:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703709#M528143</guid>
      <dc:creator>alont</dc:creator>
      <dc:date>2015-02-04T02:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Long ssh login times</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703834#M528144</link>
      <description>&lt;P&gt;&amp;gt; I've tried checking if this is DNS related and changing the config&lt;BR /&gt;&amp;gt; file with little effect.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That's nice, but with my weak psychic powers, I don't know what you&lt;BR /&gt;checked or changed.&amp;nbsp; (How little is "little"?)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I've tried connecting to the server with ssh -vvv but nothing out of&lt;BR /&gt;&amp;gt; the ordinery was found.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Similarly, I don't know what you might consider ordinary.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] a different user [...]&lt;BR /&gt;&amp;gt; [...] a different shell [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I can't tell how many things you're changing when.&amp;nbsp; Generally, if&lt;BR /&gt;there's a difference between local and remote, it suggests DNS.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; As usual, showing actual commands with their actual output can be&lt;BR /&gt;more helpful than vague descriptions or interpretations.&amp;nbsp; Hiding&lt;BR /&gt;significant details risks loss of useful information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Before you posted this question, did you do a Forum search for&lt;BR /&gt;keywords like, say:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slow ssh&lt;BR /&gt;?&amp;nbsp; That should lead to a description of a specific DNS problem, and a&lt;BR /&gt;specific test to determine if that's the problem in your case.&amp;nbsp; It&lt;BR /&gt;should also lead to information on a popular non-DNS problem.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 19:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703834#M528144</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-02-03T19:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Long ssh login times</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703849#M528145</link>
      <description>&lt;P&gt;I&amp;nbsp;apologize if my post was too vague, I'll try to be more straight forward with my posts in the future.&lt;/P&gt;&lt;P&gt;I've tried adding:&lt;/P&gt;&lt;P&gt;UseDNS no&lt;BR /&gt;GSSAPIAuthentication no&lt;BR /&gt;to the ssh_config file and so no change in remote login time whatsoever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I compare the output of ssh -vvv to the problematic server compared to the output I get when connecting to other servers, I saw no difference. Regardless, I'll post the exact output tomorrow when I get back to the office.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To clarify what I posted regarding different shells and users, here is each action and its result:&lt;/P&gt;&lt;P&gt;Remote ssh login to user A - &amp;gt; 10-15 sec login time after entering password&lt;/P&gt;&lt;P&gt;Local login to user A- &amp;gt; 10-15 sec login time after entering password&lt;/P&gt;&lt;P&gt;Local login to user B-&amp;gt; 10-15 sec login time after entering password&lt;/P&gt;&lt;P&gt;Remote login using command&amp;nbsp;&lt;SPAN&gt;'ssh A@&amp;lt;server&amp;gt; "/bin/ksh"' -&amp;gt; near instant login&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Running a remote command using ssh (like&amp;nbsp;'ssh A@&amp;lt;server&amp;gt; &amp;nbsp;"ls -l"') -&amp;gt; instant output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thanks for your help and thanks&amp;nbsp;&lt;SPAN class="login-bold"&gt;Steven Schweda for helping me clarify my issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 19:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6703849#M528145</guid>
      <dc:creator>alont</dc:creator>
      <dc:date>2015-02-03T19:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Long ssh login times</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6736781#M528146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check your /var/adm/wtmps &amp;amp; btmps files .&lt;/P&gt;&lt;P&gt;Their size might&amp;nbsp;have been increased , is it an FTP server ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can trim these files .&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 08:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6736781#M528146</guid>
      <dc:creator>chindi</dc:creator>
      <dc:date>2015-04-24T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Long ssh login times</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6737007#M528147</link>
      <description>&lt;P&gt;&amp;gt;You can trim these files .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since these are binary, trimming would require converting to ascii, trim, then back.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 22:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6737007#M528147</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-04-24T22:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Long ssh login times</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6759551#M528148</link>
      <description>&lt;P&gt;Also try to check the performance of your server after you login, If it is normal or not.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 13:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-ssh-login-times/m-p/6759551#M528148</guid>
      <dc:creator>sapoguheman</dc:creator>
      <dc:date>2015-06-26T13:00:00Z</dc:date>
    </item>
  </channel>
</rss>

