Share the Knowledge
RSS icon Home icon
  • How to send syslog messages to a remote syslog server in Fedora 9

    Posted on December 7th, 2008 webmaster No 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:

    1. Open /etc/rsyslog.conf and  add this line:
      • authpriv.* @remote_server_ip_address
    2. 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.

    Bookmark and Share

    Leave a reply