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
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
More information about the openssh-unix-dev
mailing list