<?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 SSH command logging in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784242#M59776</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a products that connects to my servers remotely (ssh) and executes commands.&lt;BR /&gt;&lt;BR /&gt;I have a filling the product does something nasty...&lt;BR /&gt;&lt;BR /&gt;I tried running script (command) inside .basrc but I get an infinite loop, starting a new bash inside bash make the product stuck.&lt;BR /&gt;&lt;BR /&gt;Is there a way to log commands that are being executed remotely via ssh ?&lt;BR /&gt;&lt;BR /&gt;The server is windows and my clients are RedHat Linux (4.8-5.5).&lt;BR /&gt;&lt;BR /&gt;Thanks ahead,&lt;BR /&gt;Ilia.</description>
    <pubDate>Wed, 04 May 2011 13:45:21 GMT</pubDate>
    <dc:creator>Eli_pok</dc:creator>
    <dc:date>2011-05-04T13:45:21Z</dc:date>
    <item>
      <title>SSH command logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784242#M59776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a products that connects to my servers remotely (ssh) and executes commands.&lt;BR /&gt;&lt;BR /&gt;I have a filling the product does something nasty...&lt;BR /&gt;&lt;BR /&gt;I tried running script (command) inside .basrc but I get an infinite loop, starting a new bash inside bash make the product stuck.&lt;BR /&gt;&lt;BR /&gt;Is there a way to log commands that are being executed remotely via ssh ?&lt;BR /&gt;&lt;BR /&gt;The server is windows and my clients are RedHat Linux (4.8-5.5).&lt;BR /&gt;&lt;BR /&gt;Thanks ahead,&lt;BR /&gt;Ilia.</description>
      <pubDate>Wed, 04 May 2011 13:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784242#M59776</guid>
      <dc:creator>Eli_pok</dc:creator>
      <dc:date>2011-05-04T13:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSH command logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784243#M59777</link>
      <description>Try Snoopy Logger : &lt;A href="http://sourceforge.net/projects/snoopylogger/" target="_blank"&gt;http://sourceforge.net/projects/snoopylogger/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--Lucifer&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2011 18:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784243#M59777</guid>
      <dc:creator>Lucifer Megacruel</dc:creator>
      <dc:date>2011-05-04T18:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: SSH command logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784244#M59778</link>
      <description>Dear,&lt;BR /&gt;&lt;BR /&gt;ssh &lt;USER_NAME&gt;@&lt;IP_ADDRESS&gt;&lt;BR /&gt;&lt;BR /&gt;try this.&lt;/IP_ADDRESS&gt;&lt;/USER_NAME&gt;</description>
      <pubDate>Thu, 05 May 2011 02:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784244#M59778</guid>
      <dc:creator>ARUNPRAKASH</dc:creator>
      <dc:date>2011-05-05T02:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: SSH command logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784245#M59779</link>
      <description>Isn't there any system command for that ?</description>
      <pubDate>Thu, 05 May 2011 03:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784245#M59779</guid>
      <dc:creator>Eli_pok</dc:creator>
      <dc:date>2011-05-05T03:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSH command logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784246#M59780</link>
      <description>sshd_config must be modified to enable SyslogFacility (normally auth) and LogLevel must be set to VERBOSE. These settings enable syslog to log the fingerprints of the key pair used for access. &lt;BR /&gt;&lt;BR /&gt;This functionality is enabled by setting an option in the public key:&lt;BR /&gt;command="/root/bin/sshroot" ssh-dss AAAAB3NzaC1kc3MAAACBALKnuTrmoeO6X1TI6gWSq5ysxx [[ LOTS snipped ]]&lt;BR /&gt;&lt;BR /&gt;From forum member DKOLeary.&lt;BR /&gt;&lt;BR /&gt;You want to read the attaced, towards the bottom - Required/suggested modifications:</description>
      <pubDate>Thu, 05 May 2011 18:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-command-logging/m-p/4784246#M59780</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-05-05T18:02:37Z</dc:date>
    </item>
  </channel>
</rss>

