1828252 Members
3426 Online
109975 Solutions
New Discussion

rcp problem

 
SOLVED
Go to solution
Sridhar R
Regular Advisor

rcp problem

I am trying to rcp a depot file from one server to other.

Getting the following error message in one particular server.

cdbap101#
cdbap101#rcp sudo-1.6.8p12-ia64-11.23.depot root@cbadb101:/var/hp
remshd: Login incorrect.
cdbap101#

But i am able to do rcp to other servers without any problem:

cdbap101#
cdbap101#rcp sudo-1.6.8p12-ia64-11.23.depot root@wwwap101:/var/hp
cdbap101#

The above command returned successfully and the file was copied to other server.

So, Why i am unable to do with the previous server.

Any Help Appreciated!!

Thanks in Advance!!

Sridhar
6 REPLIES 6
Sandy Chen
Honored Contributor
Solution

Re: rcp problem

Hi Sridhar,

Can you submit the content of .rhosts file of root on cdbap101 and cbadb101

Regards,
Sandy
I never think of the future. It comes soon enough.
Khairy
Esteemed Contributor

Re: rcp problem

check .rhosts file in wwwap101 server. Does it allow remote access from cdbap?

If this is the answers, please assign some points pls...
Sridhar R
Regular Advisor

Re: rcp problem

Hi,

Find the output:

CBADB103#cat .rhosts
cbadb101 root
cbadb102 root
cbadb103 root


cdbap101#cat .rhosts
VORAP001 root
WWWAP101 root
SCMAP001 root
DMZDB101 root

Should i add any entry in this file?
Sridhar R
Regular Advisor

Re: rcp problem

Hi,

Find the output:

CBADB101#cat .rhosts
cbadb101 root
cbadb102 root
cbadb103 root


cdbap101#cat .rhosts
VORAP001 root
WWWAP101 root
SCMAP001 root
DMZDB101 root

Should i add any entry in this file?
Asif Sharif
Honored Contributor

Re: rcp problem

Its seems that you don't have host names in cdbap101,cbadb101 servers.

On cdbap101 server add following line in .rhosts file
cbadb101 root
On cbadb101 server add following line in .rhosts file
cdbap101 root

Regards,
Asif Sharif
Regards,
Asif Sharif
Sridhar R
Regular Advisor

Re: rcp problem

thanks!