Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 19:57:11 -0800
From:      James Long <list@museum.rain.com>
To:        freebsd-questions@freebsd.org
Subject:   How to have sshd log IP numbers instead of reverse lookups
Message-ID:  <20051125035711.GA58357@ns.museum.rain.com>

next in thread | raw e-mail | index | archive | help
I was looking at /var/log/auth.log and saw an entry of the form:

Nov 24 18:41:37 ns sshd[58083]: error: PAM: authentication error for username from example.com

I wish to have an IP number logged where sshd has instead logged
'example.com'

Reading sshd's man page and sshd_config's man page, I don't find any
way to control this.

Since 'example.com' could have multiple IP numbers, how can I change 
sshd's configuration to log the IP number from whence the 
authentication error originated?


Thanks!

Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051125035711.GA58357>