Re: OpenSSH 3, DEBIAN 2.2 and PAM authentication

2001-11-12 Thread Carsten Nottebohm

 I've just compiled  installed openssh-3.0p1 on my Debian 2.2 but
 failed
 to login using root and users' passwords. Password authentication failed
 all the time and it prompted Permission Denied on the command line.
 
 A message, Failed password for [user] from .. was logged in
 auth.log. but i'm sure the password is correct. i wonder if the
 configuration for PAM is incorrect. Below is the content of
 /etc/pam.d/ssh:
 
 #%PAM-1.0

Looks fine to me.
I think OpenSSH uses /etc/pam.d/sshd (Note the d in the end). Try renaming your pam 
config 
file.

 At this time, I can connect using a DSA Key, but I would also like to
 connect using password...

SSH public key authentication is not handled by pam, sshd does that itself.

MfG,
  Carsten Nottebohm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OpenSSH 3, DEBIAN 2.2 and PAM authentication

2001-11-12 Thread Carsten Nottebohm
 I've just compiled  installed openssh-3.0p1 on my Debian 2.2 but
 failed
 to login using root and users' passwords. Password authentication failed
 all the time and it prompted Permission Denied on the command line.
 
 A message, Failed password for [user] from .. was logged in
 auth.log. but i'm sure the password is correct. i wonder if the
 configuration for PAM is incorrect. Below is the content of
 /etc/pam.d/ssh:
 
 #%PAM-1.0

Looks fine to me.
I think OpenSSH uses /etc/pam.d/sshd (Note the d in the end). Try renaming 
your pam config 
file.

 At this time, I can connect using a DSA Key, but I would also like to
 connect using password...

SSH public key authentication is not handled by pam, sshd does that itself.

MfG,
  Carsten Nottebohm