[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Connect through ssh



Richard Braun writes:

> On Tue, Jul 02, 2013 at 10:25:28PM +0300, Lluís wrote:
>> This one, I wasn't able to solve it:
>> 
>> Jul  2 18:15:28 debian sshd[1730]: Accepted password for root from 10.0.2.2 port 34693 ssh2
>> Jul  2 18:15:28 debian sshd[1730]: pam_unix(sshd:session): session opened for user root by (uid=0)
>> Jul  2 18:15:28 debian sshd[1730]: pam_ck_connector(sshd:session): cannot determine display-device
>> Jul  2 18:15:28 debian sshd[1730]: fatal: buffer_uncompress: inflate returned -3
>> Jul  2 18:15:28 debian sshd[1730]: pam_unix(sshd:session): session closed for user root

> Increase ssh/sshd verbosity. There are two errors here, each possibly
> completely unrelated to the other, or not. The presence of the word
> "fatal" makes me think the second is actually the blocking one.

Dammit! Turns out ssh takes the first "LogLevel" line, not the last one (where I
enabled debug). Here's with DEBUG3, although there's not much more relevant (to
me) information:

Jul  2 20:17:18 debian sshd[371]: Accepted password for root from 10.0.2.2 port 64107 ssh2
Jul  2 20:17:18 debian sshd[371]: debug1: monitor_child_preauth: root has been authenticated by privileged process
Jul  2 20:17:18 debian sshd[371]: debug3: mm_get_keystate: Waiting for new keys
Jul  2 20:17:18 debian sshd[371]: debug3: mm_request_receive_expect entering: type 26
Jul  2 20:17:18 debian sshd[371]: debug3: mm_request_receive entering
Jul  2 20:17:18 debian sshd[371]: debug3: mm_newkeys_from_blob: 0x80196d0(146)
Jul  2 20:17:18 debian sshd[371]: debug2: mac_setup: found hmac-md5-etm@openssh.com
Jul  2 20:17:18 debian sshd[371]: debug3: mm_get_keystate: Waiting for second key
Jul  2 20:17:18 debian sshd[371]: debug3: mm_newkeys_from_blob: 0x80196d0(146)
Jul  2 20:17:18 debian sshd[371]: debug2: mac_setup: found hmac-md5-etm@openssh.com
Jul  2 20:17:18 debian sshd[371]: debug3: mm_get_keystate: Getting compression state
Jul  2 20:17:18 debian sshd[371]: debug3: mm_get_keystate: Getting Network I/O buffers
Jul  2 20:17:18 debian sshd[371]: debug3: mm_auth_password: user authenticated [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_do_pam_account entering [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_request_send entering: type 102 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_request_receive_expect entering: type 103 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_request_receive entering [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_do_pam_account returning 1 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug1: Enabling compression at level 6. [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_send_keystate: Sending new keys: 0x8011340 0x8011068 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_newkeys_to_blob: converting 0x8011340 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_newkeys_to_blob: converting 0x8011068 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_send_keystate: New keys have been sent [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_send_keystate: Sending compression state [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_request_send entering: type 26 [preauth]
Jul  2 20:17:18 debian sshd[371]: debug3: mm_send_keystate: Finished sending state [preauth]
Jul  2 20:17:18 debian sshd[371]: debug1: monitor_read_log: child log fd closed
Jul  2 20:17:18 debian sshd[371]: debug3: mm_share_sync: Share sync
Jul  2 20:17:18 debian sshd[371]: debug3: mm_share_sync: Share sync end
Jul  2 20:17:18 debian sshd[371]: debug1: PAM: establishing credentials
Jul  2 20:17:18 debian sshd[371]: debug3: PAM: opening session
Jul  2 20:17:18 debian sshd[371]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jul  2 20:17:18 debian sshd[371]: pam_ck_connector(sshd:session): cannot determine display-device
Jul  2 20:17:18 debian sshd[371]: debug3: PAM: sshpam_store_conv called with 1 messages
Jul  2 20:17:18 debian sshd[371]: debug3: PAM: sshpam_store_conv called with 1 messages
Jul  2 20:17:18 debian sshd[371]: debug2: set_newkeys: mode 0
Jul  2 20:17:18 debian sshd[371]: debug2: set_newkeys: mode 1
Jul  2 20:17:18 debian sshd[371]: debug1: Entering interactive session for SSH2.
Jul  2 20:17:18 debian sshd[371]: debug2: fd 4 setting O_NONBLOCK
Jul  2 20:17:18 debian sshd[371]: debug2: fd 5 setting O_NONBLOCK
Jul  2 20:17:18 debian sshd[371]: debug1: server_init_dispatch_20
Jul  2 20:17:18 debian sshd[371]: fatal: buffer_uncompress: inflate returned -3
Jul  2 20:17:18 debian sshd[371]: debug1: do_cleanup
Jul  2 20:17:18 debian sshd[371]: debug1: PAM: cleanup
Jul  2 20:17:18 debian sshd[371]: debug1: PAM: closing session
Jul  2 20:17:18 debian sshd[371]: pam_unix(sshd:session): session closed for user root
Jul  2 20:17:18 debian sshd[371]: debug1: PAM: deleting credentials
Jul  2 20:17:18 debian sshd[371]: debug3: PAM: sshpam_thread_cleanup entering



Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth


Reply to: