numtech
asked on
SSH Log on Open Indiana
Hello,
I would like to have log of my SSH server on my OpenIndiana. Unfortunatly there is zero auth log in the log file (/var/log/* or /var/adm/*)
So i have edit my /etc/syslog.conf :
I have then restarted the syslog daemon and my ssh server but still no log. No /var/log/authlog.log and strangly /var/log/test.info , normally all bin sending INFO log should go into that file which is not yet created...I should miss something!
Thanks for help
I would like to have log of my SSH server on my OpenIndiana. Unfortunatly there is zero auth log in the log file (/var/log/* or /var/adm/*)
So i have edit my /etc/syslog.conf :
#Default
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
# My add
*.info /var/log/test.info
auth.* /var/log/authlog.log
and here is my /etc/ssh/sshd_config# Syslog facility and level
SyslogFacility auth
LogLevel info
I have then restarted the syslog daemon and my ssh server but still no log. No /var/log/authlog.log and strangly /var/log/test.info , normally all bin sending INFO log should go into that file which is not yet created...I should miss something!
Thanks for help
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Simple and clear.
ASKER
First, i was using /lib/svc/method/system-log
svcadm restart svc:/system/system-log:def
i have then remove the auth.* and replace it by auth.debug and created the file by touch.
Thanks again