LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-24-2008, 01:20 PM   #1
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Rep: Reputation: 17
rcp works outward, but not inward


I am a Linux newbie -- background is Solaris and HP/UX. I am building a new server running RHEL 5.1. I can do an rcp outward from the new server (send or receive) but cannot rcp INTO this system from a different server. The other server is running RHEL 4. The error message is simply "connection refused". Can anybody tell me what is configured incorrectly?

(I know that scp is preferable, but I have been told that existing scripts all use rcp so I need to get it working, along with rlogin and rsh.)

Thanks,
SS
 
Old 06-24-2008, 03:44 PM   #2
solarkash
LQ Newbie
 
Registered: Jun 2008
Posts: 11

Rep: Reputation: 1
Did you enabled these services ?

... ]# chkconfig --list | grep -E -e rsh -e rlogin -e rexec
rexec: on
rlogin: on
rsh: on

If you are,

Are you trying to connect by root ? -- If yes, edit /etc/securetty ( add the lines "rsh" "rexec" "rlogin" )
For regular user, check .rhosts file mode (600) or /etc/hosts.equiv if you use netgroup map.
The last thing you should check is the pam settings

Good luck
 
  


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
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 use rcp ust Linux - Software 5 08-31-2004 08:11 AM
Allow rcp Eddie9 Linux - General 0 08-20-2002 02:02 AM
can not get rcp to work Shailendra Singh Linux - General 2 04-16-2001 04:19 PM

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

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