Re: Re: Logging ssh login failures

2002-10-31 Thread Jonathan Chen
On Fri, Nov 01, 2002 at 12:04:51AM -0500, Steve Wingate wrote:
> > 
> > On Thu, Oct 31, 2002 at 11:29:14PM -0500, Steve Wingate wrote:
> > > How can I get FreeBSD 4.7-stable to log password ssh login attempt
> > > failures? Googling shows people last year added it via a patch to
> > > /etc/security but I wonder if it's been added to base now.
> > 
> > What about the traces in /var/log/auth.log?
> > -- 
> 
> What about them? auth.log only logs successes and su's.

Odd, my 4.7-stable (with default syslog.conf and sshd.conf) logs failures
as well:

Nov  1 18:07:13 grimoire sshd[43947]: error: Authentication failure
Nov  1 18:07:13 grimoire sshd[43947]: Postponed keyboard-interactive for jonc from 
192.168.1.10 port 4367 ssh2
Nov  1 18:07:14 grimoire sshd[43947]: error: Authentication failure
Nov  1 18:07:14 grimoire sshd[43947]: Failed keyboard-interactive/pam for jonc 
from 192.168.1.10 port 4367 ssh2
Nov  1 18:07:14 grimoire sshd[43947]: Postponed keyboard-interactive for jonc from 
192.168.1.10 port 4367 ssh2
Nov  1 18:07:15 grimoire sshd[43947]: error: Authentication failure
Nov  1 18:07:15 grimoire sshd[43947]: Failed keyboard-interactive/pam for jonc 
from 192.168.1.10 port 4367 ssh2
Nov  1 18:07:18 grimoire sshd[43947]: Failed password for jonc from 192.168.1.10 
port 4367 ssh2
Nov  1 18:07:21 grimoire sshd[43947]: Disconnecting: Too many authentication 
failures for jonc

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 When you don't know what you are doing, do it neatly.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Re: Logging ssh login failures

2002-10-31 Thread Steve Wingate
> 
> On Thu, Oct 31, 2002 at 11:29:14PM -0500, Steve Wingate wrote:
> > How can I get FreeBSD 4.7-stable to log password ssh login attempt
> > failures? Googling shows people last year added it via a patch to
> > /etc/security but I wonder if it's been added to base now.
> 
> What about the traces in /var/log/auth.log?
> -- 

What about them? auth.log only logs successes and su's.


Work like you don't need the money
Dance like nobody's watching
Love like you've never been hurt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Logging ssh login failures

2002-10-31 Thread Jonathan Chen
On Thu, Oct 31, 2002 at 11:29:14PM -0500, Steve Wingate wrote:
> How can I get FreeBSD 4.7-stable to log password ssh login attempt
> failures? Googling shows people last year added it via a patch to
> /etc/security but I wonder if it's been added to base now.

What about the traces in /var/log/auth.log?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   "Lots of folks confuse bad management with destiny"
 - Kin Hubbard

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message