LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-13-2011, 01:16 PM   #1
BradMarks
LQ Newbie
 
Registered: Jul 2011
Location: Los Angeles, CA
Distribution: rhel6
Posts: 26

Rep: Reputation: Disabled
Question rcp: Unknown Host


I'm new to Red Hat but.. Installed rsh package. When I execute "rcp user@139.64.100.1:/usr2/p/FILE FILE" I'm told "139.64.100.1: Unknown host", but scp works just fine. Do I need an '.rhosts' file on the local and/or remote host?
Thanks in advance.
-Brad
remote host is an HP-UX 11.i box

Tried rcp from Red Hat box to Red Hat box and get a "Connection refused" error. Why would the connection be refused? I'm rcp'ing to a HA Cluster that has a single 'floating' IP address. I don't know if this makes any difference, but thought I'd mention it.
Thanks again!

Last edited by BradMarks; 09-13-2011 at 01:32 PM.
 
Old 09-13-2011, 05:20 PM   #2
dafydd2277
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
Hi, Brad,

"Connection refused" usually means you tried to connect to a hostort combination where nothing is actually listening to the specified port. Whenever you see "connection refused," the first thing to research is whether or not what you're trying to do has a "server side" component (frequently called a "daemon"), and is that component actually running?

I don't know a great deal about rsh and rcp, but a quick Google search on "rshd daemon" reveals that a daemon exists. You probably need to make sure the daemon is installed and running on your server and try to make a connection, again.

Good luck!
dafydd
 
Old 09-13-2011, 05:50 PM   #3
BradMarks
LQ Newbie
 
Registered: Jul 2011
Location: Los Angeles, CA
Distribution: rhel6
Posts: 26

Original Poster
Rep: Reputation: Disabled
Unfortunately, there is not rshd daemon on Red Hat6. I'm wondering if there needs to be an entry in /etc/services.
 
Old 09-14-2011, 02:04 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
That sort of thing on RHEL would be deprecated, but there prob is a pkg and it would prob install it as a xinetd service.
I strongly recommend ssh/scp/sftp http://www.informit.com/articles/art...p=169465&rll=1
 
  


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
Bind9 ,host does reslove a dns name but ping says unknown host Byenary Linux - Networking 10 01-12-2011 02:33 AM
trying normal rcp (/usr/bin/rcp) Permission denied. Martin Peter Clarke Linux - Server 5 12-21-2010 11:42 AM
rcp -- port 544: No route to host jchambers Linux - Networking 1 08-26-2007 03:53 AM
i m getting the error unknown host while im pinging with the host name gunjan thakkar Linux - General 2 12-14-2004 02:19 PM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 02:24 PM


All times are GMT -5. The time now is 08:39 PM.

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