Operating System - OpenVMS
1819791 Members
3175 Online
109607 Solutions
New Discussion юеВ

RSH Commands and Adding Proxies.

 
SOLVED
Go to solution
Help Team
New Member

RSH Commands and Adding Proxies.

Good morning all,

VMS Server = VMS1
Remote Host = HOST1
User = USER1

When I try to run the following RSH command, I get the following error when submitted from HOST1.

rsh VMS1 -l USER1 "@$dev:[dir]file.job/output=dev:[dir]file.log"

VMS1: TCPIP$RSH - Permission denied - VMS user:USER1
rsh: can't establish connection

When I look at the proxy settings, USER1 only has type C for HOST1, but type CD for HOST2/3/4 as shown below. I can run the above RSH command from HOST2/3/4 with no problem.

VMS User_name: USER1
TYPE: CD
USER_ID: *
HOST_NAME: HOST2, HOST3, HOST4

VMS User_name: USER1
TYPE: C
USER_ID: *
HOST_NAME: HOST1

What is the difference between Type C and Type D?

How can I add the D to the HOST1 proxy?

I have tried logging as the SYSTEM account and used the command:

add proxy USER1 /host=HOST1 /remote_user=* /permanent

Any help would be greatly appreciated.

Thanks

Aaron Barrett
2 REPLIES 2
Ian Miller.
Honored Contributor
Solution

Re: RSH Commands and Adding Proxies.

add proxy /permanent
Adds the entry ONLY to the permanent proxy database. You have to restart rsh to make the changes effective. Try the command again without the /permanent.
____________________
Purely Personal Opinion
Help Team
New Member

Re: RSH Commands and Adding Proxies.

Hey Ian,

Super! That worked.

Aaron