Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSH hosed, only rubble remains
Date: Sat, 27 May 2006 16:28:41
Message-Id: 9acccfe50605270922p430ff181k88e55b1ab14e697c@mail.gmail.com
In Reply to: Re: [gentoo-user] SSH hosed, only rubble remains by John Jolet
1 On 5/27/06, John Jolet <john@×××××.net> wrote:
2 >
3 > > Password:
4 > > debug1: packet_send2: adding 32 (len 25 padlen 7 extra_pad 64)
5 > > debug2: input_userauth_info_req
6 > > debug2: input_userauth_info_req: num_prompts 0
7 > > debug1: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
8 > > debug1: ssh-userauth2 successful: method keyboard-interactive
9 > > debug3: clear hostkey 0
10 > > debug3: clear hostkey 1
11 > > debug3: clear hostkey 2
12 > > debug1: fd 4 setting O_NONBLOCK
13 > > debug1: fd 5 setting O_NONBLOCK
14 > > debug1: channel 0: new [client-session]
15 > > debug3: ssh_session2_open: channel_new: 0
16 > > debug1: send channel open 0
17 > > debug1: Entering interactive session.
18 > > debug2: callback start
19 > > debug1: ssh_session2_setup: id 0
20 > > debug1: Sending command: scp -v -t .
21 > > debug1: channel request 0: exec
22 > > debug2: callback done
23 > > debug1: channel 0: open confirm rwindow 0 rmax 32768
24 > > debug2: channel 0: rcvd adjust 131072
25 > okay, so in this instance, you're trying an scp...what happens when
26 > you do an ssh? and does anything at all show up in the logs on the
27 > server? In the /etc/ssh/sshd_config file, there can be a LogLevel
28 > entry. try DEBUG2 or DEBUG3
29 > --
30 > gentoo-user@g.o mailing list
31 >
32 >
33 Okay, I set LogLevel=DEBUG3 and reloaded sshd, but I got no more
34 output than usual:
35 May 27 09:14:55 treat sshd[11739]: Received SIGHUP; restarting.
36 May 27 09:14:55 treat sshd[2352]: Server listening on 0.0.0.0 port 22.
37 May 27 09:15:31 treat sshd[2356]: Connection from 64.166.164.53 port 32776
38 May 27 09:15:36 treat sshd[2356]: Accepted keyboard-interactive/pam for
39 kevin from 64.166.164.53 port 32776 ssh2
40 May 27 09:15:36 treat sshd(pam_unix)[2361]: session opened for user kevin by
41 (uid=0)
42
43 And when it's "ssh" instead of "scp", I get:
44
45 May 27 09:20:53 treat sshd[2392]: Connection from 64.166.164.53 port 32777
46 May 27 09:20:57 treat sshd[2392]: Accepted keyboard-interactive/pam for
47 kevin from 64.166.164.53 port 32777 ssh2
48 May 27 09:20:57 treat sshd(pam_unix)[2402]: session opened for user kevin by
49 (uid=0)
50 May 27 09:21:01 treat sshd[2402]: Connection closed by 64.166.164.53
51 May 27 09:21:01 treat sshd(pam_unix)[2402]: session closed for user kevin
52 May 27 09:21:01 treat sshd[2402]: Closing connection to 64.166.164.53
53
54 Which covers a simple login-logout sequence.
55
56 --
57 Kevin O'Gorman, PhD

Replies

Subject Author
Re: [gentoo-user] SSH hosed, only rubble remains John Jolet <john@×××××.net>