<?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 rsh gives connection refused but .rhost configured in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083754#M30325</link>
    <description>What configuration do I need to check in order&lt;BR /&gt;to solve this ?&lt;BR /&gt;&lt;BR /&gt;audibxua0001:~ # rsh -K -l root audibxua0001 uname -a&lt;BR /&gt;audibxua0001.vwbx.emea.vwg: Connection refused&lt;BR /&gt;&lt;BR /&gt;audibxua0001:~ # uname -a&lt;BR /&gt;Linux audibxua0001 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux&lt;BR /&gt;audibxua0001:~ # rsh -l root audibxua0001 uname -a&lt;BR /&gt;audibxua0001.vwbx.emea.vwg: Connection refused&lt;BR /&gt;audibxua0001:~ #&lt;BR /&gt;&lt;BR /&gt;On the other side the .rhosts file looks okay:&lt;BR /&gt;audibxug0001:~ # more .rhosts&lt;BR /&gt;audibxua0001 root&lt;BR /&gt;orasrv1 root&lt;BR /&gt;orasrv2 root&lt;BR /&gt;audibxug0001:~ #&lt;BR /&gt;&lt;BR /&gt;Both machines are on the same lan segment.&lt;BR /&gt;Dns is correctly configured, I checked all&lt;BR /&gt;with nslookup.&lt;BR /&gt;What else do I need to check ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Oct 2007 04:42:32 GMT</pubDate>
    <dc:creator>Frank de Vries</dc:creator>
    <dc:date>2007-10-10T04:42:32Z</dc:date>
    <item>
      <title>rsh gives connection refused but .rhost configured</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083754#M30325</link>
      <description>What configuration do I need to check in order&lt;BR /&gt;to solve this ?&lt;BR /&gt;&lt;BR /&gt;audibxua0001:~ # rsh -K -l root audibxua0001 uname -a&lt;BR /&gt;audibxua0001.vwbx.emea.vwg: Connection refused&lt;BR /&gt;&lt;BR /&gt;audibxua0001:~ # uname -a&lt;BR /&gt;Linux audibxua0001 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux&lt;BR /&gt;audibxua0001:~ # rsh -l root audibxua0001 uname -a&lt;BR /&gt;audibxua0001.vwbx.emea.vwg: Connection refused&lt;BR /&gt;audibxua0001:~ #&lt;BR /&gt;&lt;BR /&gt;On the other side the .rhosts file looks okay:&lt;BR /&gt;audibxug0001:~ # more .rhosts&lt;BR /&gt;audibxua0001 root&lt;BR /&gt;orasrv1 root&lt;BR /&gt;orasrv2 root&lt;BR /&gt;audibxug0001:~ #&lt;BR /&gt;&lt;BR /&gt;Both machines are on the same lan segment.&lt;BR /&gt;Dns is correctly configured, I checked all&lt;BR /&gt;with nslookup.&lt;BR /&gt;What else do I need to check ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Oct 2007 04:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083754#M30325</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2007-10-10T04:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: rsh gives connection refused but .rhost configured</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083755#M30326</link>
      <description>Three things:&lt;BR /&gt;&lt;BR /&gt;1) Unless you've specifically allowed the 'root' user to 'rsh' in, it will be rejected.  However, it will be rejected with a different message :)&lt;BR /&gt;&lt;BR /&gt;2) Have you installed the 'rsh-server' as well as enabling the service in your super-server (inetd/xinetd) ?  Most modern distributions do *not* come with an 'rsh-server' installed by default.&lt;BR /&gt;&lt;BR /&gt;3) Is the firewall allowing tcp port 514 into the box?</description>
      <pubDate>Wed, 10 Oct 2007 05:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083755#M30326</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-10-10T05:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: rsh gives connection refused but .rhost configured</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083756#M30327</link>
      <description>In addition to enabling the rsh in xinetd you'll also need to check if rsh is added to /etc/securetty for allowing remote root logins.&lt;BR /&gt;&lt;BR /&gt;Also ensure you have the following in the /etc/pam.d/rsh:&lt;BR /&gt;&lt;BR /&gt;auth       required     /lib/security/pam_rhosts_auth.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Oct 2007 22:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-gives-connection-refused-but-rhost-configured/m-p/4083756#M30327</guid>
      <dc:creator>MonitKapoor</dc:creator>
      <dc:date>2007-10-10T22:49:18Z</dc:date>
    </item>
  </channel>
</rss>

