I just installed openssh (2.2) on two machines (server running RH 6.1,
client RH6.0). However, when I try
to login I get the following in /var/log/messages.
Nov 26 21:44:38 barcelona sshd[5330]: Generating new 768 bit RSA key.
Nov 26 21:44:38 barcelona sshd[5330]: RSA key generation complete.
Nov 26 21:45:56 barcelona sshd[15671]: Accepted rsa for berman from
172.16.197.2 port 1922
Nov 26 21:45:56 barcelona sshd[15671]: PAM rejected by account
configuration: User account has expired
Nov 26 21:45:56 barcelona sshd[15671]: Faking authloop for illegal user
berman from 172.16.197.2 port 1922
Nov 26 21:46:07 barcelona sshd[15671]: Connection closed by 172.16.197.2
It looks to me like I have a PAM problem. I've seen the remark in the
INSTALL file concerning
the need to add something to /etc/pam.d; however, the sample file
("contrib/sshd.pam.generic") mentioned doesn't seem to be in the 2.2 (or
2.3) tar.
I'm sure there's a simple fix, but I have no idea what it is. Can
anyone help?
Thanks.
--Len