1832993 Members
3880 Online
110048 Solutions
New Discussion

RHAS 3 update 4 and rcp

 
Tonatiuh
Super Advisor

RHAS 3 update 4 and rcp

Everytime I execute a RCP I receive this message. I am afraid the first attempt seems to fail and that is why it trys in a second time to achieve the success.

[myusr@mysvr oracle]$ rcp myfile.sh Nodo2:/home/myusr
Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)

I am afraid that this makes a negative effect in the performance, because my system makes an intensive use of this command.

Any ide about this?
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: RHAS 3 update 4 and rcp

Lets start off by verifying a few things.

1) The 'rsh' service is enalbed on 'Nodo2' ?

2) The user 'myusr' has a '.rhosts' file that has 600 permissions and lists the host-name of 'mysvr' ? (double check you aren't getting rejections in /var/log/messages and /var/log/secure)

3) The user on 'mysvr' is 'myusr' ?

4) The firewall isn't blocking any traffic either direction?

5) The user on neither side is 'root'?
One long-haired git at your service...
xyko_1
Esteemed Contributor

Re: RHAS 3 update 4 and rcp

Hi Tonatiuh,

I guess rcp is trying to autenticate using kerberos protocol on the target machine for the first time and kerberos is not been used there, then rcp goes to normal authentication. I think that's not a big problem but you may solve it disabling kerberos authentication on the rsh tools of the client machine.

regards,
xyko
xyko_1
Esteemed Contributor

Re: RHAS 3 update 4 and rcp

Tonatiuh,

This link may help you to understand a little bit more your problem.

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-kerberos-clients.html

Regards,
Xyko