<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492501#M19688</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For remsh to work from hosta to hostb you need:&lt;BR /&gt;&lt;BR /&gt;on hosta:&lt;BR /&gt;nslookup hostb working&lt;BR /&gt;on hostb:&lt;BR /&gt;nslookup hosta working&lt;BR /&gt;.rhosts file in user's home directory contining one line with 'hosta'&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Feb 2001 15:34:50 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-02-12T15:34:50Z</dc:date>
    <item>
      <title>remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492500#M19687</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It might be a silly question to ask...but still... being a toddler in HP-UX...i think i can ask :-)&lt;BR /&gt;&lt;BR /&gt;My question is ... What is the prerequisite for remsh to work?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance !</description>
      <pubDate>Mon, 12 Feb 2001 15:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492500#M19687</guid>
      <dc:creator>Manikantan IB</dc:creator>
      <dc:date>2001-02-12T15:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492501#M19688</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For remsh to work from hosta to hostb you need:&lt;BR /&gt;&lt;BR /&gt;on hosta:&lt;BR /&gt;nslookup hostb working&lt;BR /&gt;on hostb:&lt;BR /&gt;nslookup hosta working&lt;BR /&gt;.rhosts file in user's home directory contining one line with 'hosta'&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Feb 2001 15:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492501#M19688</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-02-12T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492502#M19689</link>
      <description>Putting in the short name for the host did not work for us in this case.  We had to put in the long DNS fully qualified name.  Doing a who -a on the remote machine will tell you the DNS name to add to the .rhosts file.  This name can be different for a machine with more than one LAN card and corresponding IP.  You may be coming in one DNS name and not another.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 12 Feb 2001 15:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492502#M19689</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-02-12T15:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492503#M19690</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In order for 'remsh' to work, you must have the 'shell' port defined in /etc/services, and the following line in /etc/inetd.conf :&lt;BR /&gt;&lt;BR /&gt;shell stream tcp nowait root /usr/lbin/remshd remshd&lt;BR /&gt;&lt;BR /&gt;To enable 'rexec', define the 'exec' service in /etc/services and the following in /etc/inetd.conf :&lt;BR /&gt;&lt;BR /&gt;exec stream tcp nowait root /usr/lbin/rexecd rexecd&lt;BR /&gt;&lt;BR /&gt;'rexec' works the same as 'remsh', except that 'rexec' prompts for a password before executing the command instead of querying the hosts.equiv for authentication.&lt;BR /&gt;&lt;BR /&gt;Thus, 'rexec' can be substituted for 'remsh' in situations were there are no hostequiv(alent) files.&lt;BR /&gt;&lt;BR /&gt;In order to use 'rcp', however, you must have hosteqivalent files setup.  'rcp' uses the 'remshd' server.&lt;BR /&gt;&lt;BR /&gt;See the man pages for 'remshd (1M)', 'rexecd (1M)', and 'hosts.equiv (4).&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Feb 2001 17:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492503#M19690</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-02-12T17:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492504#M19691</link>
      <description>I have to add the "hostequiv(alent)" file that was mentioned, but not defined.&lt;BR /&gt;&lt;BR /&gt;There can be two types of files for ident checking.  &lt;BR /&gt;1.  $HOME/.rhosts&lt;BR /&gt;&lt;BR /&gt;2.  /etc/hosts.equiv&lt;BR /&gt;&lt;BR /&gt;both are identical in the respect that it is a file, containing single host entries granting access to "rsh", "rexec", etc... to that host.  For users sake, I maintain an "/etc/hosts.equiv" file, and have a script removing "$HOME/.rhosts".  This allows me to control who is allowed to access which host and from where they can access.&lt;BR /&gt;&lt;BR /&gt;NOTE:  /etc/hosts.equiv DOES NOT WORK for root( I believe that all UID's under 10 are restricted to $HOME/.rhosts)  Correct me if I am wrong on that one please!&lt;BR /&gt;&lt;BR /&gt;Permissions on an /etc/hosts.equiv file should be 444 (read, read, read).  Permissions on a $HOME/.rhosts file should be 400 (read, none, none). &lt;BR /&gt;&lt;BR /&gt;Permissions are not required, but are good to have set!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 12 Feb 2001 17:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh/m-p/2492504#M19691</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-02-12T17:54:27Z</dc:date>
    </item>
  </channel>
</rss>

