LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RCP How to?? (https://www.linuxquestions.org/questions/linux-newbie-8/rcp-how-to-739899/)

sanigo 07-14-2009 12:02 AM

RCP How to??
 
Hello All,

I have two machines on which CentOS 4.7 is installed. I am trying to copy files from Machine 1 to Machine 2 using rcp command. Things I have tried & found are as follows :

1)Machine 1 didn't have rsh installed so I installed that.
2)Make entries of user & IPadress in /root/.rhosts file also in their respective HOME folder.
3)Added rsh to /etc/securetty
4)Parameter set "Disable=no" set in /etc/xinetd.d/rsh file
5)Permission set to 600 for .rhosts file
6)Added IP address & hostname in /etc/hosts file.

Still while copying file it gives. following error :( :

[root@Webserver test]# rcp tes1.txt db2inst1@192.168.1.24:/backup
connect to address 192.168.1.24 port 544: Connection refused
Trying krb4 rcp...
connect to address 192.168.1.24 port 544: Connection refused
trying normal rcp (/usr/bin/rcp)
Connection refused.

Please help me with this issue as file copying is working fine using SCP. But I have to make it work using RCP only

foodown 07-14-2009 12:17 AM

Does this help?

http://macosx.com/forums/mac-os-x-sy...o-use-rcp.html

JosephMu 07-14-2009 12:33 AM

try
iptables -F
may be helpful, just may be..


All times are GMT -5. The time now is 06:52 PM.