<?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 login - connection closed immediately in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018953#M739464</link>
    <description>and here is the server log ..&lt;BR /&gt;&lt;BR /&gt;debug3: mm_request_send entering: type 47&lt;BR /&gt;Accepted keyboard-interactive/pam for sleong from 198.162.30.23 port 60212 ssh2&lt;BR /&gt;debug3: mm_do_pam_account returning 1&lt;BR /&gt;Accepted keyboard-interactive/pam for sleong from 198.162.30.23 port 60212 ssh2&lt;BR /&gt;debug1: monitor_child_preauth: sleong has been authenticated by privileged process&lt;BR /&gt;debug3: mm_get_keystate: Waiting for new keys&lt;BR /&gt;debug3: mm_send_keystate: Sending new keys: 4002e9e8 40027010&lt;BR /&gt;debug3: mm_request_receive_expect entering: type 24&lt;BR /&gt;debug3: mm_newkeys_to_blob: converting 4002e9e8&lt;BR /&gt;debug3: mm_newkeys_to_blob: converting 40027010&lt;BR /&gt;debug3: mm_send_keystate: New keys have been sent&lt;BR /&gt;debug3: mm_send_keystate: Sending compression state&lt;BR /&gt;debug3: mm_request_send entering: type 24&lt;BR /&gt;debug3: mm_send_keystate: Finished sending state&lt;BR /&gt;debug3: mm_request_receive entering&lt;BR /&gt;debug3: mm_newkeys_from_blob: 400328d0(118)&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug3: mm_get_keystate: Waiting for second key&lt;BR /&gt;debug3: mm_newkeys_from_blob: 400328d0(118)&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug3: mm_get_keystate: Getting compression state&lt;BR /&gt;debug3: mm_get_keystate: Getting Network I/O buffers&lt;BR /&gt;debug3: mm_share_sync: Share sync&lt;BR /&gt;debug3: mm_share_sync: Share sync end&lt;BR /&gt;debug2: User child is on pid 5199&lt;BR /&gt;debug3: mm_request_receive entering&lt;BR /&gt;debug3: PAM: opening session&lt;BR /&gt;debug1: do_cleanup&lt;BR /&gt;debug1: PAM: cleanup&lt;BR /&gt;debug3: PAM: sshpam_thread_cleanup entering&lt;BR /&gt;&lt;BR /&gt;clinethost: / #</description>
    <pubDate>Fri, 15 Dec 2006 00:15:17 GMT</pubDate>
    <dc:creator>Camel_1</dc:creator>
    <dc:date>2006-12-15T00:15:17Z</dc:date>
    <item>
      <title>ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018945#M739456</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I was trying to login a server using secure shell, right after enter the password the connection was closed immediately.&lt;BR /&gt;&lt;BR /&gt;I sure I have enter the correct password, telnet is fine, syslog shown "Accepted keyboard-interactive/pam".&lt;BR /&gt;&lt;BR /&gt;Any idea why would it be happened?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Dec 2006 23:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018945#M739456</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-14T23:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018946#M739457</link>
      <description>To debug start another instance of sshd on a different port (e.g. 22222).&lt;BR /&gt;&lt;BR /&gt;# sshd -ddd -p 22222&lt;BR /&gt;&lt;BR /&gt;and this on the client&lt;BR /&gt;&lt;BR /&gt;# ssh -vvv -p 22222 &lt;SERVER&gt;&lt;/SERVER&gt;</description>
      <pubDate>Thu, 14 Dec 2006 23:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018946#M739457</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-14T23:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018947#M739458</link>
      <description>I have turned on the debug, didn't see any adnormal .... attached is the server log.</description>
      <pubDate>Thu, 14 Dec 2006 23:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018947#M739458</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-14T23:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018948#M739459</link>
      <description>and here is the client log ...</description>
      <pubDate>Thu, 14 Dec 2006 23:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018948#M739459</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-14T23:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018949#M739460</link>
      <description>Not sure why but your attachments are empty ...</description>
      <pubDate>Fri, 15 Dec 2006 00:01:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018949#M739460</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-15T00:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018950#M739461</link>
      <description>&lt;!--!*#--&gt;serverlog.txt</description>
      <pubDate>Fri, 15 Dec 2006 00:03:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018950#M739461</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-15T00:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018951#M739462</link>
      <description>server log file attached</description>
      <pubDate>Fri, 15 Dec 2006 00:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018951#M739462</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-15T00:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018952#M739463</link>
      <description>not sure why all attachment are 0 bytes, I have extracted the last couple line of the server and client here ... hope you may find something ..&lt;BR /&gt;&lt;BR /&gt;Client log ........&lt;BR /&gt;debug2: input_userauth_info_req: num_prompts 1&lt;BR /&gt;Password:&lt;BR /&gt;debug3: packet_send2: adding 32 (len 22 padlen 10 extra_pad 64)&lt;BR /&gt;debug2: input_userauth_info_req&lt;BR /&gt;debug2: input_userauth_info_req: num_prompts 0&lt;BR /&gt;debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)&lt;BR /&gt;debug1: Authentication succeeded (keyboard-interactive).&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug3: ssh_session2_open: channel_new: 0&lt;BR /&gt;debug2: channel 0: send open&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug1: channel 0: free: client-session, nchannels 1&lt;BR /&gt;debug3: channel 0: status: The following connections are open:&lt;BR /&gt;  #0 client-session (t3 r-1 i0/0 o0/0 fd 5/6 cfd -1)&lt;BR /&gt;&lt;BR /&gt;debug3: channel 0: close_fds r 5 w 6 e 7 c -1&lt;BR /&gt;Connection to etuhnr08 closed by remote host.&lt;BR /&gt;Connection to etuhnr08 closed.&lt;BR /&gt;debug1: Transferred: stdin 0, stdout 0, stderr 79 bytes in 0.0 seconds&lt;BR /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 4048.0&lt;BR /&gt;debug1: Exit status -1&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Dec 2006 00:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018952#M739463</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-15T00:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018953#M739464</link>
      <description>and here is the server log ..&lt;BR /&gt;&lt;BR /&gt;debug3: mm_request_send entering: type 47&lt;BR /&gt;Accepted keyboard-interactive/pam for sleong from 198.162.30.23 port 60212 ssh2&lt;BR /&gt;debug3: mm_do_pam_account returning 1&lt;BR /&gt;Accepted keyboard-interactive/pam for sleong from 198.162.30.23 port 60212 ssh2&lt;BR /&gt;debug1: monitor_child_preauth: sleong has been authenticated by privileged process&lt;BR /&gt;debug3: mm_get_keystate: Waiting for new keys&lt;BR /&gt;debug3: mm_send_keystate: Sending new keys: 4002e9e8 40027010&lt;BR /&gt;debug3: mm_request_receive_expect entering: type 24&lt;BR /&gt;debug3: mm_newkeys_to_blob: converting 4002e9e8&lt;BR /&gt;debug3: mm_newkeys_to_blob: converting 40027010&lt;BR /&gt;debug3: mm_send_keystate: New keys have been sent&lt;BR /&gt;debug3: mm_send_keystate: Sending compression state&lt;BR /&gt;debug3: mm_request_send entering: type 24&lt;BR /&gt;debug3: mm_send_keystate: Finished sending state&lt;BR /&gt;debug3: mm_request_receive entering&lt;BR /&gt;debug3: mm_newkeys_from_blob: 400328d0(118)&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug3: mm_get_keystate: Waiting for second key&lt;BR /&gt;debug3: mm_newkeys_from_blob: 400328d0(118)&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug3: mm_get_keystate: Getting compression state&lt;BR /&gt;debug3: mm_get_keystate: Getting Network I/O buffers&lt;BR /&gt;debug3: mm_share_sync: Share sync&lt;BR /&gt;debug3: mm_share_sync: Share sync end&lt;BR /&gt;debug2: User child is on pid 5199&lt;BR /&gt;debug3: mm_request_receive entering&lt;BR /&gt;debug3: PAM: opening session&lt;BR /&gt;debug1: do_cleanup&lt;BR /&gt;debug1: PAM: cleanup&lt;BR /&gt;debug3: PAM: sshpam_thread_cleanup entering&lt;BR /&gt;&lt;BR /&gt;clinethost: / #</description>
      <pubDate>Fri, 15 Dec 2006 00:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018953#M739464</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-15T00:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018954#M739465</link>
      <description>&amp;gt; debug3: PAM: opening session&lt;BR /&gt;&amp;gt; debug1: do_cleanup&lt;BR /&gt;&amp;gt; debug1: PAM: cleanup&lt;BR /&gt;&amp;gt; debug3: PAM: sshpam_thread_cleanup entering&lt;BR /&gt;&lt;BR /&gt;Strange, it fails right after opening a session but no error.&lt;BR /&gt;&lt;BR /&gt;Can you show what's in /etc/pam.conf?&lt;BR /&gt;&lt;BR /&gt;Do you have TCP wrappers installed on this server?&lt;BR /&gt;&lt;BR /&gt;Does this error happen only for this user?&lt;BR /&gt;&lt;BR /&gt;What's the version of ssh on the client/server?&lt;BR /&gt;&lt;BR /&gt;Do you have recent libpam/libpam_unix patches installed on the server?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Dec 2006 04:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018954#M739465</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-15T04:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018955#M739466</link>
      <description>Ermin, thank you very much.  &lt;BR /&gt;&lt;BR /&gt;My bad, the libpam patch was missing on the server, after installed its working okay.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Dec 2006 14:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018955#M739466</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-15T14:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login - connection closed immediately</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018956#M739467</link>
      <description>resolved.</description>
      <pubDate>Fri, 15 Dec 2006 14:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login-connection-closed-immediately/m-p/5018956#M739467</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2006-12-15T14:19:42Z</dc:date>
    </item>
  </channel>
</rss>

