- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: remote shell between openvms and hp-ux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 01:18 PM
тАО10-28-2006 01:18 PM
We have client in open vms and server as hp-ux. We need to carry out rsh calls between vms and hp-ux.
This rsh commands should be through DCL scripts of vms and shell script of hp-ux.
From VMS, the dcl script makes use of calls like :-
rsh 'unix_node' /user=master "/usr/local/appl/process_idate.sh" "param_file_name"
(pls note that there is no pswd specified).
From hp-ux unix, the shell script
rsh -n -l $VAX_USERNAME $destination_vax \
'@oms_disc0:[kernel.command] \
omc_copy_from_server' \
$source_node $UNIX_USERNAME \
'"'${source_file}'"' \
"${destination_file}" > /dev/null
the setting done on the vms& hp-ux are as follows :-
on vms,
tcpip add proxy oms_master /REMOTE_USER="master"/host="demouds"/permanent
on hp-ux, the entries are as follows :-
/etc/hosts.equiv
NUTTS oms_master
nutts oms_master
I am not allowed to make use of rhosts file entry for security reason. When I use remsh from hp-ux, remsh gets executed sucessfully.
remsh nutts -l oms_master -n '@oms_disc0:[kernel.command]omc_copy_from_server'
However, from vms the command
rsh ferret /user=master "cat /etc/hosts"
gives error of
%RSH-E-FAILED, remshd: Login incorrect (from remote)
Please help.
Thanks,
Srikanth
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 01:42 PM
тАО10-28-2006 01:42 PM
Re: remote shell between openvms and hp-ux
the (remote) HP-UX system (which works)? Do
you need to use the full (qualified) node
name ("nutts.wherever.com" (?))?
Have you tried quoting the user name on the
VMS command line? DCL may convert it to
upper case, which could cause trouble at the
HP-UX end. (But "rsh" could convert an
unquoted name to lower case, so an
all-lower-case name is probably safe.)
> /etc/hosts.equiv
> NUTTS oms_master
> nutts oms_master
> /user=master
Not "oms_master"?
As usual, the VMS and TCPIP versions might
be interesting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 02:15 PM
тАО10-28-2006 02:15 PM
Re: remote shell between openvms and hp-ux
Entry in /etc/hosts is
132.146.22.143 nutts.omc.bt.co.uk nutts
Entry in /etc/hosts.equiv is
132.146.22.35 master
ferret master
132.146.22.143 oms_master
NUTTS oms_master
nutts oms_master
the vms version is "OpenVMS V7.3-2" (we will migrate it to itanium server (Openvms 8.1-2 after 3 months time)
NUTTS>tcpip
TCPIP> show version
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 4
on a AlphaServer 1200 5/533 4MB running OpenVMS V7.3-2
The rsh command with /user=master is correct. Reason being when I did rsh ferret /user=master , it prompts for password on hp-ux system and proceeds to connect to the system.
Please help me in resolving this problem.
thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 02:29 PM
тАО10-28-2006 02:29 PM
Re: remote shell between openvms and hp-ux
If I have .rhosts file with following entry it works
132.146.22.35 OMS_MASTER
nutts OMS_MASTER
NUTTS OMS_MASTER
If the same entry is placed in /etc/hosts.equiv it doesnt work.
Is there any clue here.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 02:43 PM
тАО10-28-2006 02:43 PM
Re: remote shell between openvms and hp-ux
Sorry there was a mistake in entry to .rhosts file. Just the entry of
"nutts oms_master" in .rhosts file is suffient in connecting from vms to hp-ux.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 03:04 PM
тАО10-28-2006 03:04 PM
Re: remote shell between openvms and hp-ux
The problem is resolved after the permission on /etc/hosts.equiv file was set to 777.
Just entry of "nutts oms_master" in /etc/hosts.equiv was suffient.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 06:22 PM
тАО10-28-2006 06:22 PM
Re: remote shell between openvms and hp-ux
> permission on /etc/hosts.equiv file was
> set to 777.
Well that must be wrong, but it may be
informative. Read permission for everyone
should be more than enough. Who owns your
"/etc/hosts.equiv" file? Who should own it?
You might ask the HP-UX forum for that datum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2006 10:21 PM
тАО10-28-2006 10:21 PM
Solutionfrom your Forum Profile:
I have assigned points to 59 of 92 responses to my questions.
The unrated questions are from VMS, HPUX, Storage, & Tru64.
Maybe you can find some time to do some assigning?
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!
To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.
Thanks on behalf of your Forum colleagues.
PS. - nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before - please do not take offence - none is intended!
PPS. - Zero points for this.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 08:35 AM
тАО10-30-2006 08:35 AM
Re: remote shell between openvms and hp-ux
Your concerns are quiet valid. I have always tried to assign points then and there, for some of it I might have missed it. Appologize for it and will do assign points.
Thanks,
Srikanth A