Mailing List Archive

Fwd: PAM_RHOST set to "UNKNOWN" when running in inetd mode without IP socket

When running in inetd mode (-i), if stdin/stdout are not an IP socket,
sshd will set PAM_RHOST to "UNKNOWN" which causes a reverse DNS lookup
by pam that always fails because "UNKNOWN" cannot be resolved.

I've posted a possible fix here:


Daan De Meyer
openssh-unix-dev mailing list