Re: AllowUsers doesn't work with IPs



On Thu, 26 Jan 2006 23:23:43 +0000, Darren Tucker wrote:
>> Jan 24 11:35:15 rex3 sshd[9075]: error: PAM: Authentication failure for
>> illegal user klee from oregon
>
> Do you have IPv6 enabled? If so, the system reports the connections as
> IP4-in-6 mapped addresses so the look like "::ffff:192.168.0.25"

Yes, I'm seeing reports about connections from addresses that look similar
to that above.

> OpenSSH 4.1 and newer "normalize" these addresses back to IPv4 ones so
> what you have would work. You can also tell sshd to listen only on IPv4
> addresses ("ListenAddress 0.0.0.0") which I think will work.

Works, thanks!

--
Dipl.-Phys. Felix E. Klee
Email: fk@xxxxxxxxxxxx (work), felix.klee@xxxxxxx (home)
Tel: +49 721 8307937, Fax: +49 721 8307936
Linuxburg, Goethestr. 15A, 76135 Karlsruhe, Germany
.