LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-22-2011, 11:37 PM   #1
john.wythe@activant.com
Member
 
Registered: Nov 2009
Location: Burnaby BC
Posts: 77

Rep: Reputation: 1
rsh connection refused when executing a command


Hi

I am trying to setup rsh to work from Redhat 7.3 to RHEL5. I can use "rlogin new" and "rsh new" to login to the RHEL5 system, but when I try "rsh new ls", or any other command, it hangs for quite a while, the says "Connection refused". I have setup other systems using rsh/rlogin that work fine. Even a Redhat 6.2 to RHEL5. Is it possible I forgot something from the last time I set it up? I don't recall having a problem with rsh working for login, but not for commands.
 
Old 08-24-2011, 11:41 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Any differences in the PAM settings for rsh?
 
Old 08-24-2011, 12:21 PM   #3
john.wythe@activant.com
Member
 
Registered: Nov 2009
Location: Burnaby BC
Posts: 77

Original Poster
Rep: Reputation: 1
No, the pam rsh files on the system that works is the same as the one on the one that doesn't work. Both are RHEL5, with the latest updates from Redhat.
 
Old 08-24-2011, 01:23 PM   #4
john.wythe@activant.com
Member
 
Registered: Nov 2009
Location: Burnaby BC
Posts: 77

Original Poster
Rep: Reputation: 1
Turns out rsh wasn't running on the RHEL5 system, guess rsh uses rlogind if no command is specified.
 
  


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
RSH connection refused in RHEL5 saigiridhar Red Hat 12 12-18-2011 08:24 PM
Connection refused rsh onaeem Linux - Networking 7 02-25-2011 12:44 AM
rsh connection refused while lamboot ankurpachauri Linux - General 1 09-07-2009 05:33 AM
rsh localhost - connection refused mstembri Linux - General 11 10-22-2007 09:30 AM
rsh / rcp connection refused DotHQ Red Hat 3 09-07-2006 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:02 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