Date: Sun, 27 Nov 2005 18:02:25 -0600 From: Noel Jones <noeldude@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: How to have sshd log IP numbers instead of reverse lookups Message-ID: <cce506b0511271602p7d0c96u8994bc8489d7ba2d@mail.gmail.com> In-Reply-To: <20051125035711.GA58357@ns.museum.rain.com> References: <20051125035711.GA58357@ns.museum.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/05, James Long <list@museum.rain.com> wrote: > 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 user= name 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? > > I believe adding UseDNS no to sshd_config will do what you want. -- Noel Jones
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cce506b0511271602p7d0c96u8994bc8489d7ba2d>