Hi Sluggers,
I'm having a problem with my server where I can't connect to it over
ssh. I can establish a connection, but when I enter a username, it
throws me out. I've tried both with root and regular users, but to no
avail. I can log in using a tty so I think PAM is okay.
I've set the logging to DEBUG3, so hopefully someone can shed some
light on where I've messed up. It's reasonably large so I've attached
it. Hope thats the right thing to do.
Thanks,
Rob.
--
Rob Sharp
Apr 9 04:04:33 islay sshd[2248]: debug3: fd 4 is not O_NONBLOCK
Apr 9 04:04:33 islay sshd[2267]: debug1: rexec start in 4 out 4 newsock 4 pipe
6 sock 7
Apr 9 04:04:33 islay sshd[2248]: debug1: Forked child 2267.
Apr 9 04:04:33 islay sshd[2248]: debug3: send_rexec_state: entering fd = 7
config len 599
Apr 9 04:04:33 islay sshd[2248]: debug3: ssh_msg_send: type 0
Apr 9 04:04:34 islay sshd[2248]: debug3: send_rexec_state: done
Apr 9 04:04:34 islay sshd[2267]: debug1: inetd sockets after dupping: 3, 3
Apr 9 04:04:34 islay sshd[2267]: Connection from ::ffff:211.30.136.232 port
1262
Apr 9 04:04:34 islay sshd[2267]: debug1: Client protocol version 2.0; client
software version PuTTY-Release-0.56
Apr 9 04:04:34 islay sshd[2267]: debug1: no match: PuTTY-Release-0.56
Apr 9 04:04:34 islay sshd[2267]: debug1: Enabling compatibility mode for
protocol 2.0
Apr 9 04:04:34 islay sshd[2267]: debug1: Local version string
SSH-2.0-OpenSSH_3.9p1 Debian-1ubuntu2
Apr 9 04:04:34 islay sshd[2267]: debug2: fd 3 setting O_NONBLOCK
Apr 9 04:04:34 islay sshd[2267]: debug2: Network child is on pid 2268
Apr 9 04:04:34 islay sshd[2267]: debug3: preauth child monitor started
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_request_receive entering
Apr 9 04:04:34 islay sshd[2267]: debug3: monitor_read: checking request 0
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_answer_moduli: got parameters:
1024 2048 8192
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_request_send entering: type 1
Apr 9 04:04:34 islay sshd[2267]: debug2: monitor_read: 0 used once, disabling
now
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_request_receive entering
Apr 9 04:04:34 islay sshd[2267]: debug3: monitor_read: checking request 4
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_answer_sign
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_answer_sign: signature
0x8097060(143)
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_request_send entering: type 5
Apr 9 04:04:34 islay sshd[2267]: debug2: monitor_read: 4 used once, disabling
now
Apr 9 04:04:34 islay sshd[2267]: debug3: mm_request_receive entering
Apr 9 04:04:38 islay sshd[2267]: debug3: monitor_read: checking request 6
Apr 9 04:04:38 islay sshd[2267]: debug3: mm_answer_pwnamallow
Apr 9 04:04:38 islay sshd[2267]: debug3: mm_answer_pwnamallow: sending
MONITOR_ANS_PWNAM: 1
Apr 9 04:04:38 islay sshd[2267]: debug3: mm_request_send entering: type 7
Apr 9 04:04:38 islay sshd[2267]: debug2: monitor_read: 6 used once, disabling
now
Apr 9 04:04:38 islay sshd[2267]: debug3: mm_request_receive entering
Apr 9 04:04:38 islay sshd[2267]: debug3: monitor_read: checking request 45
Apr 9 04:04:38 islay sshd[2267]: debug1: PAM: initializing for "xxxxx"
Apr 9 04:04:38 islay sshd[2267]: debug3: Normalising mapped IPv4 in IPv6
address
Apr 9 04:04:38 islay sshd[2267]: debug3: Trying to reverse map address
211.30.136.232.
Apr 9 04:04:48 islay sshd[2267]: debug1: PAM: setting PAM_RHOST to
"c211-30-136-232.mirnd1.nsw.optusnet.com.au"
Apr 9 04:04:48 islay sshd[2267]: debug1: PAM: setting PAM_TTY to "ssh"
Apr 9 04:04:48 islay sshd[2267]: debug2: monitor_read: 45 used once, disabling
now
Apr 9 04:04:48 islay sshd[2267]: debug3: mm_request_receive entering
Apr 9 04:04:48 islay sshd[2267]: debug3: monitor_read: checking request 3
Apr 9 04:04:48 islay sshd[2267]: debug3: mm_answer_authserv:
service=ssh-connection, style=
Apr 9 04:04:48 islay sshd[2267]: debug2: monitor_read: 3 used once, disabling
now
Apr 9 04:04:48 islay sshd[2267]: debug3: mm_request_receive entering
Apr 9 04:04:48 islay sshd[2267]: debug3: monitor_read: checking request 48
Apr 9 04:04:48 islay sshd[2267]: debug3: mm_answer_pam_init_ctx
Apr 9 04:04:48 islay sshd[2267]: debug3: PAM: sshpam_init_ctx entering
Apr 9 04:04:48 islay sshd[2267]: debug3: mm_request_send entering: type 49
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html