in fact in used @ instead of :
Main Topics
Browse All Topicsrcp userid:hostname:/source /destination
the above command gives the following error:-
remshd: Login incorrect
i have taken care of entries in .rhosts and hosts.equiv. the userid on both the unix machine is the same. is there anything i have missed.
please enlighten me.
thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
check your /var/log directory for /var/log/messages or other recently changed files and see if you can get an error message.
also, make sure the UID is the same on both machines.
try rlogin and rsh and see if it challenges you for a password.
login (normally) to the target system and do 'who' and see who and where it thinks you came from. match what comes out of who into your .rhosts
I would recommend not using RCP this very instant and switching to SCP, the SSH version. It functions the same and can do the same things over and secure encrypted tunnel. It's just as easy to use. I would further reccomend possibly using Rsync to do that you are wanting to do. I know this has nothing to do with your issue, but I try to preach to people that telnet and rcp should have been killed off years ago.
Business Accounts
Answer for Membership
by: JohnK813Posted on 2004-06-03 at 06:29:11ID: 11222141
Should be:
rcp userid@hostname:/source /destination
Specifically, should be an @ instead of : after userid.
You could also try the scp (secure copy) command - same syntax, I believe.