Daan De Meyer
2023-Mar-28 14:56 UTC
Fwd: PAM_RHOST set to "UNKNOWN" when running in inetd mode without IP socket
Hi, 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: https://github.com/openssh/openssh-portable/pull/388 Cheers, Daan De Meyer