Subject: Re: Problem with PAM and ssh-login
To: Lars Udo <lars.udo@gmail.com>
From: Lars Udo <lars.udo@gmail.com>
List: current-users
Date: 03/21/2005 08:10:53
On Mon, 21 Mar 2005 08:00:09 +0000
Lars Udo <lars.udo@gmail.com> wrote:

> On Sat, 19 Mar 2005 19:10:17 +0000
> Lars Ud=F6 <lars.udo@gmail.com> wrote:
>=20
> > Hi
> >=20
> > I just moved into -CURRENT (3.99.1). I compiled from sources and made e=
tcupdate, as it was told in documentation. And my problem is that i cant do=
 ssh-login.
> > ftp-login works fine, but ssh does not.
> >=20
> > larsu@Reaper:~$ssh localhost
> > Connection closed by ::1
> >=20
> > /var/log/authlog says this
> > Mar 19 19:03:57 Reaper sshd[9496]: fatal: PAM: initialisation failed
> >=20
> > /etc/pam.d/ssh has this line:
> > auth sufficient pam_ssh.so no_warn try_first_pass
> >=20
> > I'm new to this PAM system, because it didnt exist in 2.0 release. And =
i'm not
> > 100% sure about if i made etcupdate correctly. So little hint to fix my
> > little problem would be appreciated.
> >=20
> > Lars Ud=F6
>=20
> Latest error today:
>=20
> Mar 21 07:57:47 a84-230-215-174 sshd: in openpam_read_chain(): /etc/pam.d=
/sshd(20): invalid control flag 'pam_ssh.so'
>=20
> Lars

Problem solved. Darn i'm stupid. I commented out that line 20 at sshd and n=
ow it works like a charm. Maybe my mistake, but thanks to you all guys for =
giving helping hand :)

Lars