- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using rcp commands
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
Forums
Discussions
Discussions
Discussions
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
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
01-16-2001 02:05 PM
01-16-2001 02:05 PM
using rcp commands
I have an SCO/Unix Box and HP-UX box I would like to do remote copies. What are the steps that I should take, so it can work?
Thanks Juan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 02:36 PM
01-16-2001 02:36 PM
Re: using rcp commands
If they are going to be executing rcp, or similar command, on the SCO box, then .rhosts or /etc/hosts.equiv will have to be set up on the HP box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 02:38 PM
01-16-2001 02:38 PM
Re: using rcp commands
You need to setup an /etc/hosts.equiv or $HOME/.rhosts file. See the man pages for the following:
# man 4 hosts.equiv
# man rcp
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 02:50 PM
01-16-2001 02:50 PM
Re: using rcp commands
and I get the following error :
remshd: Login incorrect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 02:58 PM
01-16-2001 02:58 PM
Re: using rcp commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 03:40 PM
01-16-2001 03:40 PM
Re: using rcp commands
For example:
host
host.domain.org
I include hostname and the host.domain.org in my files. I had the same problem at one point and adding the fully qualified host.domain.org fixed the problem for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 07:10 PM
01-16-2001 07:10 PM
Re: using rcp commands
If the SCO box is where the rcp command is issued, it is the HP box that will have to have the .rhosts file. Some things to check:
Make sure that the accounts on both boxes have the exact same login name.
Check the /etc/inetd.conf file on the hp box for the following entry: shell stream tcp nowait root /usr/lbin/remshd remshd. Make sure that there is NOT a -l option after remshd and that the line is not commented out.
Verify that the /var/adm/inetd.sec file on the HP box does not disallow the shell service from the SCO box.
Ensure that there is a shell entry in the /etc/services file on the HP box. (I don't know what the port number should be - I'm on a windows machine and can't look it up.)
Read the remshd(1m) man page.
Hope this helps,
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 04:07 AM
01-17-2001 04:07 AM
Re: using rcp commands
As Bruce mentionned, the .rhosts should be on the HP box, I just tried to rcp on an SCO a file from an HP...
Regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 05:14 AM
01-17-2001 05:14 AM
Re: using rcp commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 06:23 AM
01-17-2001 06:23 AM
Re: using rcp commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 06:51 AM
01-17-2001 06:51 AM
Re: using rcp commands
so that not the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 07:05 AM
01-17-2001 07:05 AM
Re: using rcp commands
The permissions of the ~/.rhosts file really should be READ ONLY for the owner of the file. Having that file so that it is readable by the group and world is a major security no-no.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 07:18 AM
01-17-2001 07:18 AM
Re: using rcp commands
If you are sure that juan's .rhosts file is correctly configured and that the permissions are correct, check the remshd entry in /etc/inetd.conf. If remshd is invoked with a -l option, only root will be allowed to use .rhosts - juan will not.
You may want to also see if the following works: replace the contents of juan's .rhosts file with two plus signs - + +. This will set up equivalency for everyone from any host. If you can log in, then it is not an inetd.conf problem. If you can't, check inetd.conf and /var/adm/inetd.sec.
Don't forget to remove the + + from .rhosts since it is a major security hole; ANYONE will be able to login to juan's account without a password.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 12:36 PM
01-17-2001 12:36 PM
Re: using rcp commands
rcp juan@remotehost:/path /localpath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 01:09 PM
01-17-2001 01:09 PM
Re: using rcp commands
so that not the problem "
...Well rw- r-- r-- does not equal r-- --- ---.
I could never get the bugger to work until it was r-- --- ---. That's up to you. I'm probably not reading your response right. But, I would take the whole 10 seconds to change the mode of the file and try it. (I'm scratching my head at this time).