- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rcp command dont want to work :(...
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
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
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
тАО09-14-2001 12:55 AM
тАО09-14-2001 12:55 AM
rcp command dont want to work.
And "say" : Login incorrect.
At both station I login as root.
In file .rhosts I type host & login.
Oleg.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 01:04 AM
тАО09-14-2001 01:04 AM
Re: rcp command dont want to work :(...
shell
exec
login
kshell
as well as them being available in /etc/inetd.conf?
Just a thought.
good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 01:09 AM
тАО09-14-2001 01:09 AM
Re: rcp command dont want to work :(...
How do you type the command ?
For 2 server A and B, if you type rcp command in B and copy files from A, e.g. rcp A:/tmp/files . , then you have to set the hostname of B in .rhosts and /etc/hosts.equiv and define the B's hostname and IP in /etc/hosts !
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 01:10 AM
тАО09-14-2001 01:10 AM
Re: rcp command dont want to work :(...
I think you can try with another user to verify
if your problem is not because you use root
account.
Another idea (if you connect from host A as root
to host B as root), verify that the first
reply of nslookup on host B for host A IP
address is A hostname. I saw that if you want
to connect to an host using an alias it doesn't
work.
I think that you need to put a CR at the end of
your .rhosts file.
HTH
Herv?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 01:10 AM
тАО09-14-2001 01:10 AM
Re: rcp command dont want to work :(...
Make sure what you've typed in .rhosts is resolvable using nslookup, and is the primary name returned by this command.
When you say you can login, do you mean from one host to the other without a password?
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 01:28 AM
тАО09-14-2001 01:28 AM
Re: rcp command dont want to work :(...
Understand that you have entry in .rhost file on both the server.Make sure there is entry in /etc/hosts file as well on both the server.
Try ping hostname
This is a basic thing to try first..still by any chance if u forgotten..
Good luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 03:53 AM
тАО09-14-2001 03:53 AM
Re: rcp command dont want to work :(...
I advise to first get remsh(1) to work on the target system, i.e. from the target system to itself. When that works, try remsh(1) from the source system to the target system. When that works, try rcp(1) from the target system to itself. When that works, try rcp(1) from the source system to the target system.
I always start with a simple "remsh host date" command, i.e.:
remsh `hostname` date
Some common issues: The .rhosts file must be in the home directory of the user and owned by the user, i.e. .rhosts for root must be in ~root/.rhosts (which may be different from /.rhosts !) and must be owned by root (ll(1)).
Other common issues are the name resolving, FQDN versus hostname and inetd.conf and inetd.sec, which, at least partially, have been mentioned by the others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 09:39 AM
тАО09-14-2001 09:39 AM
Re: rcp command dont want to work :(...
i would suggest that you not use .rhost and consider not using r-services if your system is connected directly to the internet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2001 12:39 PM
тАО09-14-2001 12:39 PM
Re: rcp command dont want to work :(...
do an "rlogin" from station A to station B.
Then (on station B) do an "who am I -u" and you
will see the name that station B is using for station A.
This name you have to use in station B's ".rhosts".
Do the same from B to A.
Now you should be fine.
HTH,
Wodisch