Re: Weird SSH issue.

Richard Conto <[email protected]> Fri, 4 Feb 2011 19:00:14 -0500
Newsgroups gmane.network.openssh.general
Message-ID <[email protected]>
On FreeBSD 7.x (and earlier), I'd see this if the number of groups =
"user" was in exceeded NGROUPS.  FreeBSD 8.x changed this (NGROUPS =
increased, among other things.)

On an internal distro (based on LFS) of Linux, I'd see this if the =
user's shell wasn't valid.

Also, "user (uid=3D0)" is special to SSH... but that shouldn't be a =
surprise.

--- Richard


On Feb 4, 2011, at 3:18 AM, Alex John wrote:

> Hello,
>=20
> On 3 February 2011 07:48, Darren Tucker <[email protected]> wrote:
>> On 3/02/11 12:20 AM, Alex John wrote:
>>>=20
>>> Hello, I'm having trouble connecting to any server outside my local
>>> network since like a week. I could do it without any problems before
>>> that.
>>=20
>> Sounds like a network problem, any recent changes?
>=20
> Yes, well the firewall used to be a caching proxy but the admins have
> changed that to something else like a black list (but I still can
> telnet to the server, so I don't think its blacklisted). SSH
> connections used to be going properly to just about anywhere before
> this change.
>=20
> Here's one possibility:
>> http://www.snailbook.com/faq/mtu-mismatch.auto.html
>>=20
>=20
> On 3 February 2011 03:08, zitstif <[email protected]> wrote:
>> Alex,
>> Out of curiosity, have you tried connecting with a different distro? =
Or even
>> try using putty?
>=20
> Yes, I've tried in gentoo/ubuntu/Windows (putty). That's all the
> distros I have at the moment.
>=20
> On 3 February 2011 04:38, zhong ming wu <[email protected]> wrote:
>> That looks like the output from the client
>>=20
>> What do u see in server log?
>=20
> Here's the syslog:
>=20
> sshd[31757]: Accepted password for user from x.x.x.x port 51435 ssh2
> sshd[31757]: pam_unix(sshd:session): session opened for user user by =
(uid=3D0)
> sshd[31757]: lastlog_filetype: Couldn't stat /var/log/lastlog: No such
> file or directory
> sshd[31757]: lastlog_openseek: /var/log/lastlog is not a file or =
directory!
> sshd[31757]: lastlog_filetype: Couldn't stat /var/log/lastlog: No such
> file or directory
> sshd[31757]: lastlog_openseek: /var/log/lastlog is not a file or =
directory!
> sshd[31757]: pam_unix(sshd:session): session closed for user user
>=20
>> Maybe firewall settings changed?  It may not block the port but =
sometimes
>> firewalls can do some weird port/protocol specific proxying
>=20
> Yeah, any way to pinpoint what exactly its doing to the connection?
>=20
> Thanks
> Alex