Gentoo Archives: gentoo-server

From: Andrew Ross <aross@×××××××××××.au>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] SSH login as non root user
Date: Sat, 28 Aug 2004 00:25:29
Message-Id: 1093652594.8466.16.camel@localhost
In Reply to: [gentoo-server] SSH login as non root user by Karl Zander
1 On Sat, 2004-08-28 at 06:53, Karl Zander wrote:
2 > I am trying to get a user other then root to login via SSH. I want to
3 > disable root login via SSH. But I am failing. No other user expect root
4 > is able to login via SSH. sshd_config has AllowGroups wheel. And wheel
5 > does contain the users I want to allow.
6 >
7 > I have compared sshd_config with another Gentoo server I have. On the
8 > other Gentoo server I successfully have a user other than root login via
9 > SSH. diff shows sshd_config differs only on PermitRootLogin. Its set to
10 > Yes on the problem server and No on the working server. I don't want to
11 > disable root SSH login until I get another user access.
12
13 Do you have "UsePAM yes" ? If so, compare the PAM configurations on both
14 machines as well.
15
16 > Both servers run openssh 3.8.1_p1-r1. I have set SSH logging level to
17 > VERBOSE and DEBUG. Both seem to indicate a password failure. I have
18 > checked and reset the password.
19
20 Perhaps you could post the sshd log (as an attachment of course).
21
22 Cheers
23
24 Andrew