Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-14-2009, 01:02 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Unhappy 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@
connect to address port 544: Connection refused
Trying krb4 rcp...
connect to address 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
Old 07-14-2009, 01:17 AM   #2
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
Does this help?
Old 07-14-2009, 01:33 AM   #3
LQ Newbie
Registered: Dec 2008
Distribution: Ubuntu 9.04
Posts: 15

Rep: Reputation: 1
iptables -F
may be helpful, just may be..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying normal rcp (/usr/bin/rcp) Permission denied. Martin Peter Clarke Linux - Server 5 12-21-2010 11:42 AM
Trying to use rcp krysak Linux - Newbie 7 04-21-2009 05:56 PM
can't run rcp ust Linux - Distributions 0 05-09-2005 05:39 AM
Can't use rcp ust Linux - Software 5 08-31-2004 09:11 AM
Allow rcp Eddie9 Linux - General 0 08-20-2002 03:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration