Configure an increase in SSH logging verbosity

Hi

I'm trying to log sshd sessions on my filesystem, here's my approach:

touch /var/log/sshd.log

2. edit /etc/syslog.conf adding lines

Code:
!sshd *.* 
/var/log/sshd.log

killall -HUP syslogd

The sshd should now be logging stuff in /var/log/sshd.log

Over to /etc/ssh/sshd_config
Code:
SyslogFacility AUTH
LogLevel DEBUG

and in /etc/rc.conf
Code:
syslogd_enable="YES"


I reboot the sever, log back in through an SSH tunnel and check /var/log/sshd.log hoping to see my recent login - only it's empty!

What am I missing?
 
It's already being logged in /var/log/auth.log. Note the SyslogFacility and /etc/syslog.conf:
Code:
auth.info;authpriv.info                         /var/log/auth.log
 
Back
Top