Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-09-2003, 11:38 AM   #1
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, 01:20 PM   #2
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.


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

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration