<?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: Problem using RCPY or COPY/FTP or COPY/RCP in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890729#M53196</link>
    <description>I think that they're more similar than not.&lt;BR /&gt;The trick is keeping track of which user&lt;BR /&gt;name is used where.&lt;BR /&gt;&lt;BR /&gt;Your local user name is your local user name.&lt;BR /&gt;&lt;BR /&gt;You may specify the remote user name, but the&lt;BR /&gt;default is the same as your local user name&lt;BR /&gt;(except where anonymous FTP gets used).&lt;BR /&gt;&lt;BR /&gt;With DECnet, you specify the remote user name&lt;BR /&gt;in the file spec: 'rem_node"rem_user"::[...]'&lt;BR /&gt;(with the password obviated by having the&lt;BR /&gt;proper DECnet proxy).&lt;BR /&gt;&lt;BR /&gt;With IP, you specify the remote user name&lt;BR /&gt;using a "/USER = rem_user" qualifier.&lt;BR /&gt;&lt;BR /&gt;On the remote system, there must be a proxy&lt;BR /&gt;which allows your local user to act on the&lt;BR /&gt;remote system as the specified remote user&lt;BR /&gt;(which might be defaulting to be the same as&lt;BR /&gt;the local user).  So, the proxy involves the&lt;BR /&gt;original local user and the user-specified&lt;BR /&gt;remote user.  (Of course, _on_ the remote&lt;BR /&gt;system, the "local user" appears remote,&lt;BR /&gt;while the "remote user" appears local.)&lt;BR /&gt;&lt;BR /&gt;Anyway, it was clear to me before I started&lt;BR /&gt;to explain it.</description>
    <pubDate>Wed, 01 Nov 2006 22:18:32 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2006-11-01T22:18:32Z</dc:date>
    <item>
      <title>Problem using RCPY or COPY/FTP or COPY/RCP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890726#M53193</link>
      <description>&lt;!--!*#--&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;I'm unable to copy a file from one VMS host to another VMS host using TCPIP with proxy access.  It works fine if I supply a username and password in the copy command.  I have added the TCPIP proxy entry and defined the remote host in the local HOSTS database (on the remote node, ORADEV).  Is there anything else that needs to be setup?&lt;BR /&gt;&lt;BR /&gt;Both systems are running VMS 7.3-2 with all the current patches and TCPIP V5.4 ECO 5.&lt;BR /&gt;&lt;BR /&gt;Our network switches will not be supporting DECnet for much longer and we need to replace the DECnet copies that we currently do with the eqivalent IP-based commands.&lt;BR /&gt;&lt;BR /&gt;I really want to use proxy access so that we do not have to code the username and password into all the command procedures...&lt;BR /&gt;&lt;BR /&gt;Here is what the proxy entry looks like:&lt;BR /&gt;&lt;BR /&gt;ORADEV&amp;gt; tcpip show proxy&lt;BR /&gt;&lt;BR /&gt;VMS User_name     Type      User_ID    Group_ID   Host_name&lt;BR /&gt;&lt;BR /&gt;SYSTEM            CD     D_TEST                   172.29.23.29&lt;BR /&gt;&lt;BR /&gt;Here is the IP info for the host receiving the file:&lt;BR /&gt;ORADEV&amp;gt; tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5&lt;BR /&gt;  on a AlphaServer 4100 5/466 4MB running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the error from the local host:&lt;BR /&gt;&lt;BR /&gt;MILC1(D_TEST)$ copy/rcp/user=system fubar.txt  oradev::         ! (this worked)&lt;BR /&gt;&lt;BR /&gt;MILC1(D_TEST)$ copy/rcp/user=d_test fubar.txt  oradev::&lt;BR /&gt;TCPIP$RSH - Permission denied - VMS user:D_TEST&lt;BR /&gt;&lt;BR /&gt;%RCP-E-CONHST, error connecting to remote host oradev.mayo.edu&lt;BR /&gt;&lt;BR /&gt;Note that when user = system, the command worked.  I'd like to know why, since there is no proxy entry for system.&lt;BR /&gt;&lt;BR /&gt;On the remote system, I see this message:&lt;BR /&gt;%%%%%%%%%%%  OPCOM   1-NOV-2006 10:12:26.22  %%%%%%%%%%%&lt;BR /&gt;Message from user INTERnet on ORADEV&lt;BR /&gt;INTERnet ACP RSH Reject Request from Host: 172.29.23.29 Port: 1023&lt;BR /&gt;&lt;BR /&gt;The user D_TEST does not exist on the remote system, that's why I using the SYSTEM account (for testing).&lt;BR /&gt;&lt;BR /&gt;I thought I could use COPY/FTP with a proxy, but apparently if no user name is specified, the ANONYMOUS user name is used and there is no way to over-ride this unless you specify both the user name and password.&lt;BR /&gt;&lt;BR /&gt;This should not be that difficult of a task...I must have missed something!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 10:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890726#M53193</guid>
      <dc:creator>Thomas Simpson</dc:creator>
      <dc:date>2006-11-01T10:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using RCPY or COPY/FTP or COPY/RCP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890727#M53194</link>
      <description>&lt;BR /&gt;TCPIP proxy does not work for ftp (as you found out).&lt;BR /&gt;&lt;BR /&gt;You can use COPY/RCP command.  The reason your copy command didn't work is because you misunderstood the /USER= switch.  That specifies the remote user you want to use.  Just take out the /USER switch from your command line.  And do the command while logged in to D_TEST and it should work.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 11:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890727#M53194</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2006-11-01T11:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using RCPY or COPY/FTP or COPY/RCP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890728#M53195</link>
      <description>&lt;!--!*#--&gt;I've got it working with a little help from HP.  The problem is my understanding of how the TCPIP proxy works...&lt;BR /&gt;&lt;BR /&gt;What I was misunderstanding was that you need to execute the r-command from an account on the local system that has the same account on the remote system along with the a valid proxy or use the /user switch to specify a valid remote user account (with a valid proxy).&lt;BR /&gt; &lt;BR /&gt;Here are the remote proxies:&lt;BR /&gt;ORADEV&amp;gt; tcpip show proxy&lt;BR /&gt;&lt;BR /&gt;VMS User_name     Type      User_ID    Group_ID   Host_name&lt;BR /&gt;&lt;BR /&gt;SYSTEM            CD     SYSTEM                   milc1.mayo.edu&lt;BR /&gt;SYSTEM            CD     D_TEST                   milc1.mayo.edu&lt;BR /&gt;TCPIP$FTP         CD     D_TEST                   milc1.mayo.edu&lt;BR /&gt;&lt;BR /&gt;Here are the r-commands and results using the D_TEST account:&lt;BR /&gt;MILC1(D_TEST)$ rsh oradev show time&lt;BR /&gt;%RSH-E-FAILED, TCPIP$RSH - Permission denied - VMS user:D_TEST&lt;BR /&gt; (from remote)&lt;BR /&gt;MILC1(D_TEST)$ rsh/user=d_test oradev dir show time&lt;BR /&gt;%RSH-E-FAILED, TCPIP$RSH - Permission denied - VMS user:D_TEST&lt;BR /&gt; (from remote)&lt;BR /&gt;MILC1(D_TEST)$ rsh/user=system oradev show time&lt;BR /&gt;   1-NOV-2006 20:32:50&lt;BR /&gt;MILC1(D_TEST)$ rsh/user=tcpip$ftp oradev show time&lt;BR /&gt;   1-NOV-2006 20:33:11&lt;BR /&gt;&lt;BR /&gt;So as you can see, I'm logged in as D_TEST, have a proxy for D_TEST on ORADEV, but the r-command will never work unless I can specify a valid remote VMS user name with the /USER switch.&lt;BR /&gt;&lt;BR /&gt;Maybe someone else can explain it a little better than I can...  It's similar to DECnet proxies but definitely not the same, which is what confused me.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 21:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890728#M53195</guid>
      <dc:creator>Thomas Simpson</dc:creator>
      <dc:date>2006-11-01T21:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using RCPY or COPY/FTP or COPY/RCP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890729#M53196</link>
      <description>I think that they're more similar than not.&lt;BR /&gt;The trick is keeping track of which user&lt;BR /&gt;name is used where.&lt;BR /&gt;&lt;BR /&gt;Your local user name is your local user name.&lt;BR /&gt;&lt;BR /&gt;You may specify the remote user name, but the&lt;BR /&gt;default is the same as your local user name&lt;BR /&gt;(except where anonymous FTP gets used).&lt;BR /&gt;&lt;BR /&gt;With DECnet, you specify the remote user name&lt;BR /&gt;in the file spec: 'rem_node"rem_user"::[...]'&lt;BR /&gt;(with the password obviated by having the&lt;BR /&gt;proper DECnet proxy).&lt;BR /&gt;&lt;BR /&gt;With IP, you specify the remote user name&lt;BR /&gt;using a "/USER = rem_user" qualifier.&lt;BR /&gt;&lt;BR /&gt;On the remote system, there must be a proxy&lt;BR /&gt;which allows your local user to act on the&lt;BR /&gt;remote system as the specified remote user&lt;BR /&gt;(which might be defaulting to be the same as&lt;BR /&gt;the local user).  So, the proxy involves the&lt;BR /&gt;original local user and the user-specified&lt;BR /&gt;remote user.  (Of course, _on_ the remote&lt;BR /&gt;system, the "local user" appears remote,&lt;BR /&gt;while the "remote user" appears local.)&lt;BR /&gt;&lt;BR /&gt;Anyway, it was clear to me before I started&lt;BR /&gt;to explain it.</description>
      <pubDate>Wed, 01 Nov 2006 22:18:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890729#M53196</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-11-01T22:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using RCPY or COPY/FTP or COPY/RCP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890730#M53197</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;Our network switches will not be supporting DECnet for much longer and we need to replace the DECnet copies that we currently do with the eqivalent IP-based commands.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;We had a similar situation here many years ago...&lt;BR /&gt;routers/switches that no longer supported DECnet.&lt;BR /&gt;Use DECnet over IP and everything runs as usual.&lt;BR /&gt;You will not be able to replace all your DECnet&lt;BR /&gt;functionality with IP -- it just don't work that&lt;BR /&gt;way.&lt;BR /&gt;&lt;BR /&gt;Use DECnet over IP, it is not as difficult as&lt;BR /&gt;some make out.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 23:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-using-rcpy-or-copy-ftp-or-copy-rcp/m-p/3890730#M53197</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2006-11-01T23:36:04Z</dc:date>
    </item>
  </channel>
</rss>

