LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-14-2009, 12:02 AM   #1
sanigo
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@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
 
Old 07-14-2009, 12:17 AM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
Does this help?

http://macosx.com/forums/mac-os-x-sy...o-use-rcp.html
 
Old 07-14-2009, 12:33 AM   #3
JosephMu
LQ Newbie
 
Registered: Dec 2008
Distribution: Ubuntu 9.04
Posts: 15

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


Reply


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 10:42 AM
Trying to use rcp krysak Linux - Newbie 7 04-21-2009 04:56 PM
can't run rcp ust Linux - Distributions 0 05-09-2005 04:39 AM
Can't use rcp ust Linux - Software 5 08-31-2004 08:11 AM
Allow rcp Eddie9 Linux - General 0 08-20-2002 02:02 AM


All times are GMT -5. The time now is 04:32 AM.

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