- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote copy
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
05-30-2005 11:09 PM
05-30-2005 11:09 PM
I have a Sun Server and other HP Servers.
I want to copy some data from Sun server to HP server now the directories which I have to copy contains lots of sudirectories and these also has its subdirectories.So I can';t to a ftp in this case could you please tell me whether its possible by rcp and if yes then how
Thanks in Advance
Abhi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:12 PM
05-30-2005 11:12 PM
Re: Remote copy
Example:
rcp sunserver:/tmp/test/ /tmp/test/
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:28 PM
05-30-2005 11:28 PM
Re: Remote copy
You can use either rcp or scp.
1. Syntax for rcp:
from Sun server:
# rcp /path_to_data hp_server:/
2. Syntax for scp, from Sun Server:
# scp /path_to_data username@hp_server:/
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:38 PM
05-30-2005 11:38 PM
Re: Remote copy
use scp for secure copy, for this you need to have ssh server running on either source or destination machine.
eg: scp -r source/directory user@remotemachine:/destination/directory
use rcp otherwise.
eg: rcp -r source/directory user@remotemachine:/destination/directory
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:47 PM
05-30-2005 11:47 PM
Re: Remote copy
thanks for your earlier replies but when I am doing
rcp -r sourcedir user@hpserver dest dir.
it is giving error
remshd: Login incorrect.
regards,
Abhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:52 PM
05-30-2005 11:52 PM
SolutionYou need to set .rhosts file on both the servers. It is not allowinf to login.
See man .rhosts.
If you are not concerned about security and this servers are on private network then you can just do:
# echo + + > /.rhosts
On both the server.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 11:53 PM
05-30-2005 11:53 PM
Re: Remote copy
in hp-ux machine:
/etc/hosts.equiv
sunserver root
i hope u r using root account on both machines.
sun machine:
/etc/hosts.equiv
hpserver root
If this backup is for one time then use scp -r option with this and give password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 12:31 AM
05-31-2005 12:31 AM
Re: Remote copy
Regards,
Abhijit