LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 12: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 12:32 PM.
 
Old 09-13-2011, 04: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, 04: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, 01:04 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 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
Open Source Consulting | Domain Registration