<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Redirect ssh messages in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231513#M485464</link>
    <description>&lt;P&gt;I am running HP-UX 11.31 and trying to redirect ssh messages from the syslog.log to sshlog.log. From a forum discussion I tried the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) Enable the following lines in /opt/ssh/etc/sshd_config:&lt;/P&gt;&lt;P&gt;SyslogFacility AUTH&lt;BR /&gt;LogLevel INFO&lt;/P&gt;&lt;P&gt;(2) Stop sshd using the command /sbin/init.d/secsh stop&lt;/P&gt;&lt;P&gt;(3) Start sshd using the command /sbin/init.d/secsh start&lt;/P&gt;&lt;P&gt;(4) Add the following line to /etc/syslog.conf:&lt;/P&gt;&lt;P&gt;auth.info;mail.none /var/adm/syslog/sshd.log&lt;/P&gt;&lt;P&gt;(5) Change this line in /etc/syslog.conf:&lt;BR /&gt;from:&lt;BR /&gt;*.info;mail.none /var/adm/syslog/syslog.log&lt;/P&gt;&lt;P&gt;to:&lt;BR /&gt;*.info;auth.none;mail.none /var/adm/syslog/syslog.log&lt;/P&gt;&lt;P&gt;(6) Stop syslogd using the command /sbin/init.d/syslogd stop&lt;/P&gt;&lt;P&gt;(7) Start syslogd using the command /sbin/init.d/syslogd start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ssh messages are no longer appearing in the syslog.log but I do not see the ssh.log. Are the steps I performed valid for HP-UX 11.31? Is there something wrong with the steps I performed?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2013 19:27:44 GMT</pubDate>
    <dc:creator>Andy Benegas</dc:creator>
    <dc:date>2013-10-09T19:27:44Z</dc:date>
    <item>
      <title>Redirect ssh messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231513#M485464</link>
      <description>&lt;P&gt;I am running HP-UX 11.31 and trying to redirect ssh messages from the syslog.log to sshlog.log. From a forum discussion I tried the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1) Enable the following lines in /opt/ssh/etc/sshd_config:&lt;/P&gt;&lt;P&gt;SyslogFacility AUTH&lt;BR /&gt;LogLevel INFO&lt;/P&gt;&lt;P&gt;(2) Stop sshd using the command /sbin/init.d/secsh stop&lt;/P&gt;&lt;P&gt;(3) Start sshd using the command /sbin/init.d/secsh start&lt;/P&gt;&lt;P&gt;(4) Add the following line to /etc/syslog.conf:&lt;/P&gt;&lt;P&gt;auth.info;mail.none /var/adm/syslog/sshd.log&lt;/P&gt;&lt;P&gt;(5) Change this line in /etc/syslog.conf:&lt;BR /&gt;from:&lt;BR /&gt;*.info;mail.none /var/adm/syslog/syslog.log&lt;/P&gt;&lt;P&gt;to:&lt;BR /&gt;*.info;auth.none;mail.none /var/adm/syslog/syslog.log&lt;/P&gt;&lt;P&gt;(6) Stop syslogd using the command /sbin/init.d/syslogd stop&lt;/P&gt;&lt;P&gt;(7) Start syslogd using the command /sbin/init.d/syslogd start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ssh messages are no longer appearing in the syslog.log but I do not see the ssh.log. Are the steps I performed valid for HP-UX 11.31? Is there something wrong with the steps I performed?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 19:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231513#M485464</guid>
      <dc:creator>Andy Benegas</dc:creator>
      <dc:date>2013-10-09T19:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect ssh messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231553#M485465</link>
      <description>&lt;P&gt;Your steps sound good and are similar to one of the test systems I have access to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one caveat is your syslog.conf file. &amp;nbsp;When you added the line for 'auth.info' did you hit the TAB key before specifying the file name? &amp;nbsp;If not, that is your problem. &amp;nbsp;The fields in syslog.conf &lt;STRONG&gt;**MUST**&lt;/STRONG&gt; be separated by a TAB and nothing else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your line should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;auth.info;mail.none&amp;lt;hit the TAB key here&amp;gt;/var/adm/syslog/sshd.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you verify / modify that. &amp;nbsp;Try stoppig and restarting syslog again and see what happens.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231553#M485465</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2013-10-09T20:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect ssh messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231565#M485467</link>
      <description>&lt;P&gt;Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. That resolved the issue. I am now seeing a ssh.log as well as a syslog.log. I will monitor the ssh.log to determine if the ssh messages appear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Again,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231565#M485467</guid>
      <dc:creator>Andy Benegas</dc:creator>
      <dc:date>2013-10-09T20:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect ssh messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231573#M485468</link>
      <description>&lt;P&gt;Excellent news.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The syslog.conf file is the ONLY file I know of with the TAB requirement between fields. &amp;nbsp;That is a very common problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To test the messages going to various log files &amp;nbsp;you can always use the logger command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To test auth.info going to your sshd.log file you can do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# logger -p auth.info "This is a auth.info test message"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To test regular messages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# logger "This is a test message"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information&lt;/P&gt;&lt;P&gt;# man logger&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-ssh-messages/m-p/6231573#M485468</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2013-10-09T20:24:33Z</dc:date>
    </item>
  </channel>
</rss>

