<?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: rsh: ipaddress /hostname not found in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767106#M90380</link>
    <description>Thanks Guys, for all your responses.&lt;BR /&gt;&lt;BR /&gt;# remsh hostname&lt;BR /&gt;# remsh ipaddress&lt;BR /&gt;&lt;BR /&gt;Works fine.&lt;BR /&gt;&lt;BR /&gt;I just need, rsh to work, so that, can push a software from server2 to server1.&lt;BR /&gt;&lt;BR /&gt;If, I give&lt;BR /&gt;# rsh hostname&lt;BR /&gt;&lt;BR /&gt;I get the error message as &lt;BR /&gt;rsh: hostname:  not found.&lt;BR /&gt;&lt;BR /&gt;Through some research, in the file inetd.conf, created the entry&lt;BR /&gt;shell   stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd&lt;BR /&gt;&lt;BR /&gt;In the .rhosts file, created the entry&lt;BR /&gt;hostname&lt;BR /&gt;&lt;BR /&gt;Still, the same problem&lt;BR /&gt;&lt;BR /&gt;Thanks for your inputs.</description>
    <pubDate>Thu, 18 Jul 2002 17:27:02 GMT</pubDate>
    <dc:creator>Jai Harikrishnan</dc:creator>
    <dc:date>2002-07-18T17:27:02Z</dc:date>
    <item>
      <title>rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767102#M90376</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have to connect from one host to a different host on the same trusted network and the connection should not require a password.&lt;BR /&gt;&lt;BR /&gt;In server 1, added, a .rhosts file under /&lt;BR /&gt;Created entries in the /.rhosts file&lt;BR /&gt;hostname&lt;BR /&gt;ipaddress&lt;BR /&gt;&lt;BR /&gt;From server 2, tried to connect to server 1, like&lt;BR /&gt;rsh hostname&lt;BR /&gt;rsh ipaddress&lt;BR /&gt;&lt;BR /&gt;In both, the cases, I get message like&lt;BR /&gt;rsh: hostname:  not found.&lt;BR /&gt;rsh: ipaddress:  not found.&lt;BR /&gt;&lt;BR /&gt;Tried to do man rsh (in both machines), and got the error message as "No manual entry for rsh."&lt;BR /&gt;&lt;BR /&gt;What, am I missing here?&lt;BR /&gt;Inputs will be sincerely appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jul 2002 11:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767102#M90376</guid>
      <dc:creator>Jai Harikrishnan</dc:creator>
      <dc:date>2002-07-18T11:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767103#M90377</link>
      <description>1. does the output of "which rsh" give the correct path to rhs or does it give that of some kind of wrapper?&lt;BR /&gt;&lt;BR /&gt;2. try adding the hostnames with their adresses to /etc/hosts. &lt;BR /&gt;&lt;BR /&gt;you sould then be able to "rsh hostname"&lt;BR /&gt;&lt;BR /&gt;olaf.</description>
      <pubDate>Thu, 18 Jul 2002 12:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767103#M90377</guid>
      <dc:creator>Olaf Thormählen</dc:creator>
      <dc:date>2002-07-18T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767104#M90378</link>
      <description>Hi Jai,&lt;BR /&gt;&lt;BR /&gt;man pages are not automatically added for rsh. But your problem is definitely name resolution. Check your resolv.conf file and put the hostnames/IP- adresses into /etc/hosts file. That should do it for you.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Thu, 18 Jul 2002 13:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767104#M90378</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-07-18T13:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767105#M90379</link>
      <description>Hi,&lt;BR /&gt;try first the network / IP to see if both server can communicate :&lt;BR /&gt;ping is a first tool. I think the trouble is more routing than anything else .&lt;BR /&gt;And may be there's a trouble with rsh, did you try first a telnet or anything else. &lt;BR /&gt;Or may be you have firewall options configured on one box...&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Benoit</description>
      <pubDate>Thu, 18 Jul 2002 14:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767105#M90379</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-07-18T14:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767106#M90380</link>
      <description>Thanks Guys, for all your responses.&lt;BR /&gt;&lt;BR /&gt;# remsh hostname&lt;BR /&gt;# remsh ipaddress&lt;BR /&gt;&lt;BR /&gt;Works fine.&lt;BR /&gt;&lt;BR /&gt;I just need, rsh to work, so that, can push a software from server2 to server1.&lt;BR /&gt;&lt;BR /&gt;If, I give&lt;BR /&gt;# rsh hostname&lt;BR /&gt;&lt;BR /&gt;I get the error message as &lt;BR /&gt;rsh: hostname:  not found.&lt;BR /&gt;&lt;BR /&gt;Through some research, in the file inetd.conf, created the entry&lt;BR /&gt;shell   stream  tcp     nowait  root    /usr/sbin/in.rshd       in.rshd&lt;BR /&gt;&lt;BR /&gt;In the .rhosts file, created the entry&lt;BR /&gt;hostname&lt;BR /&gt;&lt;BR /&gt;Still, the same problem&lt;BR /&gt;&lt;BR /&gt;Thanks for your inputs.</description>
      <pubDate>Thu, 18 Jul 2002 17:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767106#M90380</guid>
      <dc:creator>Jai Harikrishnan</dc:creator>
      <dc:date>2002-07-18T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767107#M90381</link>
      <description>What OS are you using?  No Linux distribution I know of uses / as it's home directory.&lt;BR /&gt;&lt;BR /&gt;the '.rhosts' file should be in the USERS home directory, so if you are wanting equivalence for 'root', then it should be '~root/.rhosts'.&lt;BR /&gt;&lt;BR /&gt;After you made the entry into the 'inetd.conf' file, did you restart 'inetd' ?&lt;BR /&gt;&lt;BR /&gt;Beyond that, what do the /var/log/messages file state about the attempt?&lt;BR /&gt;&lt;BR /&gt;If it's a PAM enabled distribution, you might also want to be looking at /etc/pam.d/rsh, and commenting out the 'pam_securetty.so' line.&lt;BR /&gt;&lt;BR /&gt;But no distribution details, so it's hard to know where to go..</description>
      <pubDate>Thu, 18 Jul 2002 22:21:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767107#M90381</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-18T22:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767108#M90382</link>
      <description>This sounds like the difference between HP-UX rsh and linux rsh. In Linux rsh == rlogin if no command is given to run (default command, sh is assumed). In HP-UX, and possibly other Unices I haven't learned yet, rsh looks for a command to run. When you give rsh (no command)hostname, rsh looks at hostname as though it were a command and says not found. &lt;BR /&gt;&lt;BR /&gt;If what you want to do is start a shell then remsh hostname is the syntax to use. &lt;BR /&gt;&lt;BR /&gt;If you want to execute a particular program on the remote host (assuming you have priveleges to do so)&lt;BR /&gt;rsh program hostname&lt;BR /&gt;is the syntax you need&lt;BR /&gt;&lt;BR /&gt;hope this helps&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 19 Jul 2002 01:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767108#M90382</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-07-19T01:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: rsh: ipaddress /hostname not found</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767109#M90383</link>
      <description>as said before:&lt;BR /&gt;&lt;BR /&gt;in unices other than linux the command rsh is not the remote-shell, but the restricted shell! the hostname would then be interpreted as a command.&lt;BR /&gt;&lt;BR /&gt;lucky you did not name the machine "halt"... :-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 10:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rsh-ipaddress-hostname-not-found/m-p/2767109#M90383</guid>
      <dc:creator>Olaf Thormählen</dc:creator>
      <dc:date>2002-07-23T10:19:22Z</dc:date>
    </item>
  </channel>
</rss>

