[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH configuration problem



On Mon, Jan 07, 2002 at 08:00:02PM +0100, Luc MAIGNAN wrote:
> Hi,
> 
> my SSH connections don't go to the 'auth.log' file, but the sshd_config seems 
> to be good. What can happen ?

Do you mean that you're not seeing *any* messages from sshd in the log
file, or that sshd is logging, but that you only get messages about
authentication, but not about connections being established - this:

Jan 12 20:56:04 badkey sshd[14882]: Accepted password for waoki from 127.0.0.1 port 4075 ssh2

instead of this:

Jan 12 20:54:43 badkey sshd[14848]: Connection from 127.0.0.1 port 4074
Jan 12 20:54:43 badkey sshd[14848]: Enabling compatibility mode for protocol 2.0
Jan 12 20:54:43 badkey sshd[14848]: Failed none for waoki from 127.0.0.1 port 4074 ssh2
Jan 12 20:54:46 badkey sshd[14848]: Accepted password for waoki from 127.0.0.1 port 4074 ssh2

If so, you need to change a line in /etc/ssh/sshd_config from the
default:

LogLevel INFO

to

LogLevel VERBOSE

and restart the ssh daemon.


The name chosen for that configuration directive bothers me a bit,
because it's too easily mistaken for syslog priority level - to someone
who hasn't gone through the sshd manpage, the default configuration looks
like it means "log at 'auth.info'", not "use verbosity level 'info'".

-- 
William Aoki     waoki@umnh.utah.edu       /"\  ASCII Ribbon Campaign
3B0A 6800 8A1A 78A7 9A26 BB92              \ /  No HTML in mail or news!
9A26 BB92 6329 2D3E 199D 8C7B               X
                                           / \



Reply to: