I'm still having problems connecting to openssh (this time openssh-1.2.2p1).
I compiled it with:
/configure --prefix=/d2/usr2/local/openssh-1.2.2p1 --with-tcp-wrappers
--with-md5-passwords --with-ssl-dir=/d2/usr2/local/openssl-0.9.5
I tried with and without the option "--with-md5-passwords" (I'm not sure what
RedHat 6.1 needs).
The command:
ssh -l someuser -v localhost
gives in /var/log/messages
Mar 22 01:36:57 localhost sshd[13272]: Server listening on 0.0.0.0 port 22.
Mar 22 01:36:57 localhost sshd[13272]: Generating 768 bit RSA key.
Mar 22 01:36:59 localhost sshd[13272]: RSA key generation complete.
Mar 22 01:37:39 localhost sshd[13279]: warning: /etc/hosts.allow, line 6: host
name/address mismatch: 127.0.0.1 != somehost
Mar 22 01:37:44 localhost sshd[13279]: Failed password for someuser from
127.0.0.1 port 770
Mar 22 01:37:49 localhost last message repeated 2 times
Mar 22 01:37:49 localhost sshd[13279]: Connection closed by 127.0.0.1
Mar 22 01:37:49 localhost sshd[13279]: Cannot close PAM session: System error
Mar 22 01:37:49 localhost sshd[13279]: Cannot delete credentials:
Authentication service cannot retrieve user credentials