<?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: remsh not working with command. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945934#M412683</link>
    <description>Have you added .rhosts file to all 3 systems?&lt;BR /&gt;If not do it.&lt;BR /&gt;&lt;BR /&gt;Also check that you have /etc/services has entry for "shell". Which allows you to run cmd from other remote systems.&lt;BR /&gt;&lt;BR /&gt;Finally if not working use hosts.equiv for each users...&lt;BR /&gt;&lt;BR /&gt;Cheers...007</description>
    <pubDate>Fri, 09 Dec 2005 09:30:23 GMT</pubDate>
    <dc:creator>Chan 007</dc:creator>
    <dc:date>2005-12-09T09:30:23Z</dc:date>
    <item>
      <title>remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945930#M412679</link>
      <description>Hi. First post to this forum, hope you can help with this...&lt;BR /&gt;&lt;BR /&gt;For all the "wrong" reasons, I need to have remsh set up so root on one machine can execute some commands on another, at least to get things working till I can set up something more secure. Lets call them AAAA and BBBB&lt;BR /&gt;&lt;BR /&gt;So I set up BBBB's ~root/.rhosts this way:&lt;BR /&gt;&lt;BR /&gt;AAAAA root&lt;BR /&gt;&lt;BR /&gt;mode 600 and all that. And it works from AAAA when I do something like&lt;BR /&gt;&lt;BR /&gt;# remsh BBBB -l root&lt;BR /&gt;&lt;BR /&gt;, login in without asking password. But if I try to add a command to execute, like&lt;BR /&gt;&lt;BR /&gt;# remsh BBBB -l root ls&lt;BR /&gt;&lt;BR /&gt;Then I get:&lt;BR /&gt;&lt;BR /&gt;remshd: Login incorrect.&lt;BR /&gt;&lt;BR /&gt;? What? &lt;BR /&gt;&lt;BR /&gt;Now this works with another machine, CCCC, that seems to have an older remshd, but I really dont have any idea why the login fails in the second example.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Jesús Couto F.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945930#M412679</guid>
      <dc:creator>Jesús Couto Fandiño</dc:creator>
      <dc:date>2005-12-09T09:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945931#M412680</link>
      <description>&lt;BR /&gt;Dear JesÃºs Couto,&lt;BR /&gt;&lt;BR /&gt;Execute the following command ,&lt;BR /&gt;&lt;BR /&gt;# remsh BBBB -l root -n ls&lt;BR /&gt;&lt;BR /&gt;This will work !&lt;BR /&gt;&lt;BR /&gt;Infact you have missed the "-n" before the command ( ls )&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945931#M412680</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2005-12-09T09:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945932#M412681</link>
      <description>Hi JesÃºs,&lt;BR /&gt;&lt;BR /&gt;remsh host [-l username] [-n] command&lt;BR /&gt;&lt;BR /&gt;# remsh BBBB -l root -n ls&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 09 Dec 2005 09:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945932#M412681</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2005-12-09T09:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945933#M412682</link>
      <description>Sorry, but no luck. &lt;BR /&gt;&lt;BR /&gt;# remsh BBBB -l root -n ls&lt;BR /&gt;remshd: Login incorrect.&lt;BR /&gt;&lt;BR /&gt;Still does it. And again, it works with and without the -n option with the CCCC host...</description>
      <pubDate>Fri, 09 Dec 2005 09:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945933#M412682</guid>
      <dc:creator>Jesús Couto Fandiño</dc:creator>
      <dc:date>2005-12-09T09:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945934#M412683</link>
      <description>Have you added .rhosts file to all 3 systems?&lt;BR /&gt;If not do it.&lt;BR /&gt;&lt;BR /&gt;Also check that you have /etc/services has entry for "shell". Which allows you to run cmd from other remote systems.&lt;BR /&gt;&lt;BR /&gt;Finally if not working use hosts.equiv for each users...&lt;BR /&gt;&lt;BR /&gt;Cheers...007</description>
      <pubDate>Fri, 09 Dec 2005 09:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945934#M412683</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2005-12-09T09:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945935#M412684</link>
      <description>add BBB to /etc/hosts&lt;BR /&gt;10.1.1.10 BBB&lt;BR /&gt;&lt;BR /&gt;ping BBB&lt;BR /&gt;&lt;BR /&gt;remsh BBB ls -la&lt;BR /&gt;&lt;BR /&gt;send output /etc/resolv.conf&lt;BR /&gt;send output /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;cat $HOME/.rhosts : in the remote hosts &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945935#M412684</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2005-12-09T09:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945936#M412685</link>
      <description>Hi,&lt;BR /&gt;Do this for validation purpose&lt;BR /&gt;1)Check your boxes know each other!&lt;BR /&gt;By adding them in /etc/hosts &lt;BR /&gt;Then in the .rhosts in the root's home directory&lt;BR /&gt;make sure you have for each host you want, a line with&lt;BR /&gt;&lt;HOSTNAME&gt; root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)from host1 type&lt;BR /&gt;remsh host2 -n date&lt;BR /&gt;&lt;BR /&gt;This should work&lt;BR /&gt;(I just tested but not with root)&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;/HOSTNAME&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945936#M412685</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-12-09T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945937#M412686</link>
      <description>Nothing. &lt;BR /&gt;&lt;BR /&gt;To recapitulate.&lt;BR /&gt;&lt;BR /&gt;Host CCCC is working. It has AAAA on /etc/hosts, and in root's .rhosts it has&lt;BR /&gt;&lt;BR /&gt;AAAA root&lt;BR /&gt;&lt;BR /&gt;So, from AAAA&lt;BR /&gt;&lt;BR /&gt;#remsh CCCC -l root -n date&lt;BR /&gt;Fri Dec  9 15:49:48 MET 2005&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;Now BBBB. BBBB has AAAA in /etc/hosts ... in fact, first difference; I had to add the domain, it didnt work with the hostname alone, so its something like&lt;BR /&gt;1.1.1.1 AAAA AAAA.A.A&lt;BR /&gt;&lt;BR /&gt;and in root's .rhosts&lt;BR /&gt;&lt;BR /&gt;AAAA.A.A root&lt;BR /&gt;&lt;BR /&gt;Now, this does work without a command:&lt;BR /&gt;&lt;BR /&gt;#remsh BBBB -l root &lt;BR /&gt;&lt;BR /&gt;gives me a root shell on BBBB. But&lt;BR /&gt;&lt;BR /&gt;#remsh BBBB -l root -n date&lt;BR /&gt;remshd: Login incorrect.&lt;BR /&gt;&lt;BR /&gt;Why adding a command makes the login incorrect?</description>
      <pubDate>Fri, 09 Dec 2005 09:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945937#M412686</guid>
      <dc:creator>Jesús Couto Fandiño</dc:creator>
      <dc:date>2005-12-09T09:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945938#M412687</link>
      <description>Ok, "found" the problem.&lt;BR /&gt;&lt;BR /&gt;Back when I was trying to get it to run at all, I had changed the /etc/inetd.conf file of BBBB so it had the same line as CCCC where it worked. The only difference between them was that BBBB had "tcp6" as the protocol, while CCCC had "tcp"&lt;BR /&gt;&lt;BR /&gt;Now, why support for IPv6 would break this... anyway, with:&lt;BR /&gt;&lt;BR /&gt;shell   stream  tcp6    nowait  root    /usr/lbin/remshd        remshd&lt;BR /&gt;&lt;BR /&gt;on /etc/inetd.conf on BBBB, its now working fine.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Jesus Couto F.</description>
      <pubDate>Fri, 09 Dec 2005 10:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945938#M412687</guid>
      <dc:creator>Jesús Couto Fandiño</dc:creator>
      <dc:date>2005-12-09T10:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: remsh not working with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945939#M412688</link>
      <description>entry for shell service in /etc/inetd.conf has to have tcp6 as the protocol; using tcp was making this problem appear.</description>
      <pubDate>Fri, 09 Dec 2005 10:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-not-working-with-command/m-p/4945939#M412688</guid>
      <dc:creator>Jesús Couto Fandiño</dc:creator>
      <dc:date>2005-12-09T10:29:11Z</dc:date>
    </item>
  </channel>
</rss>

