rsh and Connection refused.

rsh and Connection refused.

Post by Zdravko Balor » Fri, 24 Oct 1997 04:00:00


quite often when trying to log in to an linux host
using rsh linux-host program times out returning
Connection refused. After a minute of so it
works again. It is linux 1.2.13.



1. rsh difficulty: Connection refused

OK , on the surface this would seem like an easy fix.  Just add the server's
name to the .rhosts file on the other box.  Right?!  Not!

Here's what I would like to happen:
    userA wants to rsh from boxA to boxB without an additional login

Just the facts:
    userA has an account on both boxA and boxB.
    userA has boxA's name (and the fully qualifed domain name) in his .rhost
file on boxB.
    For all that it matters, boxA's name (and the fully qualifed domain
name) is also in
        the /etc/hosts.equiv file on boxB.

Other information that should not be relevant, but may have some bearing on
the case:
    userA has a "tcsh" shell on boxA and a "csh" shell on boxB.
    boxA is Solaris 2.6 and boxB is SunOS 4.1.3C.
    userA has UID=5009 on boxA
    userB has UID=5009 on boxB.

What happens:
    boxA: {1001}% rsh boxB
    boxB: Connection refused
    boxA: {1002} %

Telltale signs?:
No error messages show up in /var/adm/messages or /var/log/syslog on either

What's a poor UNIX admin to do?


2. Digital UNIX, C2 -> change root password as non-root

3. rsh localhost - connection refused

4. finding the directory the binary is in...

5. rsh connection refused. How to fix?

6. server side includes and symbolic links / index.html

7. rsh with command turns out Connection refused

8. add/remove from dos self-extracting archive

9. Summary: rsh connection refused

10. rsh connection refused

11. rlogin, rsh - Connection refused

12. Problem: rsh localhost -- connection refused

13. FTP error: Can't build data connection: Connection refused.