<?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: rcp question. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759433#M72073</link>
    <description>&lt;BR /&gt;Are you invoking rcp this way?&lt;BR /&gt;&lt;BR /&gt;rcp machA:/path/to/file machB:/path/to/file&lt;BR /&gt;&lt;BR /&gt;If so, that would explain why machA wants machB to be in the .rhost file. All you really need to do is this from machA:&lt;BR /&gt;&lt;BR /&gt;rcp /path/to/file machB:/path/to/file&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Jul 2002 15:37:14 GMT</pubDate>
    <dc:creator>Jordan Bean</dc:creator>
    <dc:date>2002-07-08T15:37:14Z</dc:date>
    <item>
      <title>rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759428#M72068</link>
      <description>Hi Team:&lt;BR /&gt;&lt;BR /&gt;  We have to rcp some files from the production box(machA) to the development box(machB) on a regular basis. We have set up the development box's .rhosts file as follows..&lt;BR /&gt;machA.abc.com  root. But the rcp doesn't work. If we add the development box(machB) in the .rhosts of machA(production) then it works fine. Is this not strange?? Does someone have any clues?? We do not want to have any .rhosts entries for development boxes.Please Help.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Mon, 08 Jul 2002 14:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759428#M72068</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-07-08T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759429#M72069</link>
      <description>If the .rhosts file is in the root account's home directory, the root entry is not necessary.  You may also want to try just the hostname without the "abc.com" in it.  You could also try the IP address of the server as well.</description>
      <pubDate>Mon, 08 Jul 2002 15:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759429#M72069</guid>
      <dc:creator>Daimian Woznick</dc:creator>
      <dc:date>2002-07-08T15:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759430#M72070</link>
      <description>Hi Brian:&lt;BR /&gt;&lt;BR /&gt;Your question is a little ambiguous at this point. Since rcp can 'from' and 'to' from both hosts, it is important to know which machine is issueing the rcp command and thus which host's remshd is actually responding.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jul 2002 15:04:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759430#M72070</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-08T15:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759431#M72071</link>
      <description>Hi Clay:&lt;BR /&gt;&lt;BR /&gt; rcp always runs from the production box(machA) to machB(development). The machB's .rhosts has the required entries(machA.abc.com) but stange enough the rcp from machA only works when there is an entry for machB in machA's .rhosts file, which i feel is not required.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Mon, 08 Jul 2002 15:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759431#M72071</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-07-08T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759432#M72072</link>
      <description>Hi Brian&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you are just wanting to rcp file from A to B then you dont require entries for B in .rhosts of machine A , all you need is that in .rhosts of B an entry for host A , if the A is not defined in /etc/hosts then also you can ahve problems in rcp not working , try using absoulte address ir in .rhosts of B add likt this&lt;BR /&gt;&lt;BR /&gt;10.2.10.35  root 10.2.10.35 is the adress of A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 08 Jul 2002 15:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759432#M72072</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-07-08T15:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759433#M72073</link>
      <description>&lt;BR /&gt;Are you invoking rcp this way?&lt;BR /&gt;&lt;BR /&gt;rcp machA:/path/to/file machB:/path/to/file&lt;BR /&gt;&lt;BR /&gt;If so, that would explain why machA wants machB to be in the .rhost file. All you really need to do is this from machA:&lt;BR /&gt;&lt;BR /&gt;rcp /path/to/file machB:/path/to/file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jul 2002 15:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759433#M72073</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-07-08T15:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759434#M72074</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt; We are just using from machA&lt;BR /&gt;&lt;BR /&gt;rcp filename machb:/path/to/filename&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Mon, 08 Jul 2002 15:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759434#M72074</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-07-08T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759435#M72075</link>
      <description>&lt;BR /&gt;Wait... I'm wrong. I'm not thinking right today. Need more coffee. 10am is early for me.&lt;BR /&gt;&lt;BR /&gt;rcp machA:path1 machB:path2&lt;BR /&gt;&lt;BR /&gt;may require _machA_ to be in .rhost of machA. I don't deserve any points for my last suggestion.&lt;BR /&gt;&lt;BR /&gt;This is strange indeed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jul 2002 15:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759435#M72075</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-07-08T15:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: rcp question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759436#M72076</link>
      <description>We are talking about ~root/.rhosts (on machB)right? I.e. not some *other* user's .rhosts file.&lt;BR /&gt;&lt;BR /&gt;~root/.rhosts *must* be owned (i.e. UID in ll(1) output) by root.&lt;BR /&gt;&lt;BR /&gt;As others have suggested, leave out the " root" part from ~root/.rhosts, and, better yet, put the IP-address in there, instead of the host[.domain] name and use the IP-adress in the rcp command. This will reveal any name&amp;lt;--&amp;gt;IP lookup problems.&lt;BR /&gt;&lt;BR /&gt;Also, *start* by using remsh(1) instead of rcp(1). remsh and rcp both use .rhosts, but remsh is much simpler. I.e.:&lt;BR /&gt;&lt;BR /&gt;machA # remsh IP_of_machB date&lt;BR /&gt;&lt;BR /&gt;This should *not* ask for a password and should display the date/time.&lt;BR /&gt;&lt;BR /&gt;By the way, what *exactly* does "doesn't work" mean? I *assume* that it means you get "remshd: Login incorrect.", but we need to know for sure.</description>
      <pubDate>Tue, 09 Jul 2002 08:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rcp-question/m-p/2759436#M72076</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-07-09T08:29:22Z</dc:date>
    </item>
  </channel>
</rss>

