Operating System - HP-UX
1834150 Members
2010 Online
110064 Solutions
New Discussion

How set syslog in order to send messages on syslog.server

 
SOLVED
Go to solution

How set syslog in order to send messages on syslog.server

Hello,
I'd like to configure my hpux 11.31 server in order
1] to log the connection entry
logon, log-off, and log-failed

2] and after that to send them on an external server.

1] I've tried to set more log without success also restarting the syslogd. the entry are the same [and default]
Dec 2 11:19:51 secdq08 sshd[19820]: Accepted keyboard-interactive/pam for root from 172.17.204.30 port 54252 ssh2

not log-in or log-off displayed.
My doubt is could I increase the logging with ssh? Is it possible?

2] if the above will works well, I find that I could set the follow entry in /etc/syslog.conf
could by the key. I tried to configure it inserting the line:
*.info;mail.none @sysloghost

thans for help me
Alex
Vigno
1 REPLY 1
TTr
Honored Contributor
Solution

Re: How set syslog in order to send messages on syslog.server

1] Look at the man page for sshd_config and setup the LogLevel option.

2] You must NOT use spaces in the syslog.conf file. Delete all the spaces in the line(s) that you added and put tabs instead.