1 |
On 5/27/6, John Jolet <john@×××××.net> wrote: |
2 |
> |
3 |
> > Okay, I set LogLevel=DEBUG3 and reloaded sshd, but I got no more |
4 |
> > output than usual: |
5 |
> > May 27 09:14:55 treat sshd[11739]: Received SIGHUP; restarting. |
6 |
> > May 27 09:14:55 treat sshd[2352]: Server listening on 0.0.0.0 port 22. |
7 |
> > May 27 09:15:31 treat sshd[2356]: Connection from 64.166.164.53 |
8 |
> > port 32776 |
9 |
> > May 27 09:15:36 treat sshd[2356]: Accepted keyboard-interactive/pam |
10 |
> > for kevin from 64.166.164.53 port 32776 ssh2 |
11 |
> > May 27 09:15:36 treat sshd(pam_unix)[2361]: session opened for user |
12 |
> > kevin by (uid=0) |
13 |
> > |
14 |
> > And when it's "ssh" instead of "scp", I get: |
15 |
> > |
16 |
> > May 27 09:20:53 treat sshd[2392]: Connection from 64.166.164.53 |
17 |
> > port 32777 |
18 |
> > May 27 09:20:57 treat sshd[2392]: Accepted keyboard-interactive/pam |
19 |
> > for kevin from 64.166.164.53 port 32777 ssh2 |
20 |
> > May 27 09:20:57 treat sshd(pam_unix)[2402]: session opened for user |
21 |
> > kevin by (uid=0) |
22 |
> > May 27 09:21:01 treat sshd[2402]: Connection closed by 64.166.164.53 |
23 |
> > May 27 09:21:01 treat sshd(pam_unix)[2402]: session closed for user |
24 |
> > kevin |
25 |
> > May 27 09:21:01 treat sshd[2402]: Closing connection to 64.166.164.53 |
26 |
> > |
27 |
> > Which covers a simple login-logout sequence. |
28 |
> > |
29 |
> > -- |
30 |
> > Kevin O'Gorman, PhD |
31 |
> |
32 |
> well, it really looks from both ends like it's working. what is the |
33 |
> shell for the given user? in /etc/passwd, if you're using local |
34 |
> authentication. |
35 |
|
36 |
|
37 |
That was the hint I needed. It's /bin/bash, which reminded me I just |
38 |
changed something |
39 |
in .bashrc which outputs a message and does some other stuff which must be |
40 |
confusing scp. In fact, I just confirmed that by commenting it out. Now |
41 |
scp works too. |
42 |
So: PROBLEM SOLVED. |
43 |
|
44 |
Now I just have to figure out how to tailor it some more so the offending |
45 |
code is skipped |
46 |
for 'scp'. That I can do. |
47 |
|
48 |
Thanks for the help. |
49 |
|
50 |
++ kevin |
51 |
|
52 |
|
53 |
-- |
54 |
Kevin O'Gorman, PhD |