Re: RSH between Linux and OpenVMS fails (568 Views)
Reply
Regular Advisor
smsc_1
Posts: 87
Registered: ‎11-19-2007
Message 1 of 4 (580 Views)
Accepted Solution

RSH between Linux and OpenVMS fails

[ Edited ]

 

Dear all,

I have to excecute a simple .COM script on OpenVMS from Red Hat.

 

REXEC on Red Hat works perfect, but the downside is that I need to provide the username and password:

# rexec -l username -p password 10.99.15.60 "@remove.com"

 

Plus, between machines there is correctly configured an SSH key, so I can connect using SSH without password prompt. I'm also using SCP to copy file from Linux to OpenVMS without password prompt.

 

Then, if I use RSH from linux:

# rsh 10.99.15.60 -l username "@remove.com"

 

this is what OpenVMS reply me:

TCPIP$RSH - Permission denied......

 

Could someone help me to understand why?

 

Thanks

./ Lucas
Honored Contributor
Steven Schweda
Posts: 9,089
Registered: ‎02-23-2005
Message 2 of 4 (568 Views)

Re: RSH between Linux and OpenVMS fails

Regular Advisor
smsc_1
Posts: 87
Registered: ‎11-19-2007
Message 3 of 4 (519 Views)

Re: RSH between Linux and OpenVMS fails

 

Thanks Steven, I did not think I could use SSH also to execute remote commands! ;)

I tried right now and it works perfect!!!!

  

 

 

./ Lucas
Honored Contributor
Steven Schweda
Posts: 9,089
Registered: ‎02-23-2005
Message 4 of 4 (512 Views)

Re: RSH between Linux and OpenVMS fails

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.