Hi
I'm trying to log sshd sessions on my filesystem, here's my approach:
2. edit /etc/syslog.conf adding lines
The sshd should now be logging stuff in /var/log/sshd.log
Over to /etc/ssh/sshd_config
and in /etc/rc.conf
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?
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?