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

Daan De Meyer daan.j.demeyer at gmail.com
Wed Mar 29 01:56:49 AEDT 2023


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

More information about the openssh-unix-dev mailing list