LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-09-2003, 10:38 AM   #1
StressedLemming
LQ Newbie
 
Registered: Oct 2003
Posts: 26

Rep: Reputation: 15
rsh localhost : connection refused


I need to get rsh working so I can use lamboot across a cluster of workstations. rsh and rsh-server are installed but I get "localhost.localdomain: Connection refused" when I try "rsh localhost".

I have a .rhosts file in /root which says:
localhost.localdomain ross

any ideas what I'm doing wrong?

Thanks in advance.
 
Old 11-09-2003, 12:20 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Your .rhost file lives in your home directory to let rsh know what other systems you trust to login in under your uid without authentication (necessary because rsh does not prompt for password).

You state you put the .rhost file in /root, which is probably your root account home directory. You appear to be trying to enable unauthenticated logins for user account ross in the .rhost file.

The proper location for a user account ross .rhost file would be in the ross user's home directory.

If you are trying to generally enable unauthenticate logins from user ross, you should use the /etc/hosts.equiv file.

If you are trying to enable rsh for the root account, most linux distros I have used disable remote login under the root account.

To help your troubleshooting efforts, you should probably also enable the rlogin service (at least temporarily) and use it to verify that you can rlogin without a password prompt before trying the more inscrutable rsh service.
 
  


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
Connection refused rsh onaeem Linux - Networking 7 02-25-2011 12:44 AM
rsh localhost - connection refused mstembri Linux - General 11 10-22-2007 09:30 AM
Connection to localhost refused?!? a_priebe47 Slackware 4 09-01-2004 09:05 PM
rsh : connection refused problem on RH9 haoscar Linux - Software 3 07-19-2004 11:12 PM
connection to localhost refused digitalgravy Linux - Networking 5 05-03-2004 04:27 PM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration