<?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 Re: Troubles with RSH from Linux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455933#M848395</link>
    <description>How do I tell if I'm running Kerberos or not?</description>
    <pubDate>Thu, 06 Jan 2005 10:26:14 GMT</pubDate>
    <dc:creator>Kevin McKee</dc:creator>
    <dc:date>2005-01-06T10:26:14Z</dc:date>
    <item>
      <title>Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455926#M848388</link>
      <description>I'm having some troubles remote shelling from Linux Red Hat Enterprise ES 3 to HP-UX 10.20.  I AM able to type rsh hostname from my Linux box and successfully connect to the HP-UX box.  However, if I issue a command along with the RSH like rsh hostname touch /tmp/test.log, I simply get no response.  In the SYSLOG I see the following entries:&lt;BR /&gt;&lt;BR /&gt;When doing rsh hostname and successfully connecting:&lt;BR /&gt;usage: rlogind [-l] [-n]&lt;BR /&gt;Connection from x.x.x.x on illegal port&lt;BR /&gt;&lt;BR /&gt;When doing rsh hostname touch /tmp/test.log and receiving no output:&lt;BR /&gt;usage: remshd [-ln]&lt;BR /&gt;&lt;BR /&gt;Any input would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Kevin&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jan 2005 10:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455926#M848388</guid>
      <dc:creator>Kevin McKee</dc:creator>
      <dc:date>2005-01-05T10:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455927#M848389</link>
      <description>Use remsh on HPUX not rsh.</description>
      <pubDate>Wed, 05 Jan 2005 10:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455927#M848389</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-01-05T10:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455928#M848390</link>
      <description>When doing multiple rsh commands, they should be enclosed in quotes and separated by a semicolon (;).&lt;BR /&gt;&lt;BR /&gt;Try this and see what happens:&lt;BR /&gt;&lt;BR /&gt;From RH Linux:&lt;BR /&gt;&lt;BR /&gt;# rsh hostname "touch /tmp/test.log ; ls -l /tmp/test.log"&lt;BR /&gt;&lt;BR /&gt;I think rsh may be getting confused with the argument to touch.</description>
      <pubDate>Wed, 05 Jan 2005 10:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455928#M848390</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-01-05T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455929#M848391</link>
      <description>Thanks for the input, but unfortunately that doesn't work.  I still get the same response in the SYSLOG on the HP side.</description>
      <pubDate>Wed, 05 Jan 2005 10:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455929#M848391</guid>
      <dc:creator>Kevin McKee</dc:creator>
      <dc:date>2005-01-05T10:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455930#M848392</link>
      <description>Do you have firewall (iptables) enabled on the linux box?&lt;BR /&gt;&lt;BR /&gt;Remote shell server (remshd on hp-ux) will try to open inbound connection to your linux box in order to pass stderr. This connection is made on a random port below 1023.&lt;BR /&gt;&lt;BR /&gt;Please note that 'rsh &lt;HOST&gt;' is handled by rlogind and 'rsh &lt;HOST&gt; &lt;COMMAND&gt;' by remshd. This explains why 'rsh &lt;HOST&gt;' works (rlogind doesn't make any inbound connections).&lt;/HOST&gt;&lt;/COMMAND&gt;&lt;/HOST&gt;&lt;/HOST&gt;</description>
      <pubDate>Wed, 05 Jan 2005 22:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455930#M848392</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-01-05T22:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455931#M848393</link>
      <description>I wondered if it was something to do with trying to connect back to the Linux box as you said, but unfortunately I'm not familiar with that side of things.  Can you tell me how to check if those ports are open or not?  We're on an internal network so I have no trouble opening those ports if required.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 06 Jan 2005 08:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455931#M848393</guid>
      <dc:creator>Kevin McKee</dc:creator>
      <dc:date>2005-01-06T08:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455932#M848394</link>
      <description>Do you have kerberos running on the Linux box?</description>
      <pubDate>Thu, 06 Jan 2005 08:40:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455932#M848394</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-01-06T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455933#M848395</link>
      <description>How do I tell if I'm running Kerberos or not?</description>
      <pubDate>Thu, 06 Jan 2005 10:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455933#M848395</guid>
      <dc:creator>Kevin McKee</dc:creator>
      <dc:date>2005-01-06T10:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455934#M848396</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do a 'rpm -qa | grep krb' to see if you have the Kerberos packages installed.  Do a 'chkconfig --list kshell' to see if you have the Kerberos rsh commands enabled.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 11:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455934#M848396</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2005-01-06T11:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455935#M848397</link>
      <description>This is what comes up for the rpm -qa&lt;BR /&gt;krbafs-utils-1.1.1-11&lt;BR /&gt;krb5-libs-1.2.7-19&lt;BR /&gt;krbafs-1.1.1-11&lt;BR /&gt;krb5-workstation-1.2.7-19&lt;BR /&gt;pam_krb5-1.70-1&lt;BR /&gt;krbafs-devel-1.1.1-11&lt;BR /&gt;krb5-devel-1.2.7-19&lt;BR /&gt;&lt;BR /&gt;and it says that KSHELL is OFF</description>
      <pubDate>Thu, 06 Jan 2005 12:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455935#M848397</guid>
      <dc:creator>Kevin McKee</dc:creator>
      <dc:date>2005-01-06T12:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455936#M848398</link>
      <description>You can check if firewall is active on the linux side with&lt;BR /&gt;&lt;BR /&gt;# iptables -L&lt;BR /&gt;&lt;BR /&gt;You can temporarily disable it to see if it helps with rsh problem&lt;BR /&gt;&lt;BR /&gt;# service iptables stop&lt;BR /&gt;&lt;BR /&gt;If you want to keep the firewall running, but enable rsh, insert the following rule to /etc/sysconfig/iptables before first line with '-j REJECT' action.&lt;BR /&gt;&lt;BR /&gt;-A RH-Firewall-1-INPUT -p tcp -s &lt;IP_ADDRESS_OF_YOUR_HPUX_SYSTEM&gt; --syn --dport 1001:1024 -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;Then re-enable firewall with&lt;BR /&gt;&lt;BR /&gt;# service iptables start&lt;BR /&gt;&lt;BR /&gt;Also make sure that on linux system you are executing /usr/bin/rsh, NOT kerberos rsh (/usr/kerberos/bin/rsh).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/IP_ADDRESS_OF_YOUR_HPUX_SYSTEM&gt;</description>
      <pubDate>Thu, 06 Jan 2005 19:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455936#M848398</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-01-06T19:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with RSH from Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455937#M848399</link>
      <description>Fantastic.  I didn't realize there were to RSH's, so simply by specifying /usr/bin/rsh - that worked!&lt;BR /&gt;&lt;BR /&gt;Thank you so much</description>
      <pubDate>Fri, 07 Jan 2005 08:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/troubles-with-rsh-from-linux/m-p/3455937#M848399</guid>
      <dc:creator>Kevin McKee</dc:creator>
      <dc:date>2005-01-07T08:42:04Z</dc:date>
    </item>
  </channel>
</rss>

