-   Linux - Networking (
-   -   how to sshd-syslog ip-adresses only (

womd 04-18-2008 07:17 AM

how to sshd-syslog ip-adresses only
hi forums

this time i have some troubles with my log.

in my /var/log/messages :

Mar 22 21:56:01 smallsau sshd[17647]: Invalid user lee from ::ffff:
Mar 22 21:56:02 smallsau sshd[17627]: error: PAM: Authentication failure for root from

how to configure syslog/sshd to log the ip-adress on a PAM Auth error ?

im using suse 7.3

acid_kewpie 04-18-2008 07:25 AM

man sshd_config says:

    UseDNS  Specifies whether sshd should look up the remote host name and
            check that the resolved host name for the remote IP address maps
            back to the very same IP address.        The default is ``yes''.

womd 04-18-2008 07:36 AM

ok thank you !

must have overread it ... sry for disturbing ;)

All times are GMT -5. The time now is 12:16 PM.