How to send syslog messages to a remote syslog server in Fedora 9
December 7, 2008 Comments
I have a virtual machine set up running Fedora 9 on my home network which I mainly use for SSH tunneling and I just realized that this version of Fedora now uses rsyslog as its default syslog daemon.
I wanted to send a copy of the syslog messages for SSH to my central syslog server so I can easily keep track of login attempts to my server from the outside.
Here are the steps:
- Open /etc/rsyslog.conf and add this line:
authpriv.* @remote_server_ip_address
- Restart the rsyslog service: /etc/init.d/rsyslog restart
Change “authpriv.*” to “*.*” if you wish to send a copy of all the syslog messages to the remote server.