1836644 Members
1691 Online
110102 Solutions
New Discussion

Re: Issues with RCP

 
SOLVED
Go to solution
UnixT
Frequent Advisor

Issues with RCP


Hello all

I am having two HP-UX servers with 11.31 and
11.11. i have some issues to rcp one file from 11.11 to 11.31
Detailed Discription

HP-UX 11.11 ----Server A
HP-UX 11.31 ---- Server B

i have all the required file for rcp in both the systems

If i am doing rcp from Server B to Server A it works fine without any issue
If i doing rcp from Server A to server B here the problem comes, Some times this rcp works fine some times giving following error

uname -n:/home/pharish2 $ rcp test cbpux30:/tmp/test
remshd: Login incorrect.

Three times it gaves error and 4th time this works again three times error 8th time ok

Kindly help me on this please
5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: Issues with RCP

>If i doing rcp from Server A to server B

If you can't figure out the networking issue, have you put server A's IP address in the .rhost on server B?
UnixT
Frequent Advisor

Re: Issues with RCP

Yes entries are thre in .rhost on both server
UnixT
Frequent Advisor

Re: Issues with RCP

Handly

You are great now the problem solved
Jeeshan
Honored Contributor

Re: Issues with RCP

abc and logged in as user xyz, there should be an entry in
/.rhosts, which matches any one of the below.

abc xyz
or
+ abc
or
xyz +
a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: Issues with RCP

>You are great now the problem solved

It doesn't really solve it, it just lets the user get his job done. ;-)
There is some type of nslookup, DNS problem or issue with /etc/nsswitch.conf?