Ssh/Rsh problems

From: Ian (ireidlin@ianreidconsulting.com)
Date: 02/26/03


From: ireidlin@ianreidconsulting.com (Ian)
Date: 25 Feb 2003 21:45:00 -0800

I am encountering problems with both ssh and rsh, on machines running
Redhat 8.0
When I attempt to run a command on a remote machine via ssh, I get a
"connection refused" message
immediately.

When I attempt to run a command on a remote machine via rsh, I get a
"connection refused" message after several seconds.

If I try running the command on the local machine, via ssh or rsh, it
succeeds.
I have created an ".rhosts" file , with the write permissions only for
the user,
containing a line for each IP address and user.

I am using numeric IP addresses in the ssh/rsh commands, as opposed to
host names.
Both ssh(d) and rsh(d) have been enabled and installed on all machines

Here is a brief description of the network set-up:

Machine 1 - Both DNS and gateway specified, Redhat 8.0
Machine 2 - No DNS, No gateway specified, Redhat 8.0
Machine 3 - No DNS, No gateway specified, Redhat 8.0

Any ideas or suggestions toward the solution of this problem would be
greatly
appreciated.

Thanks

Ian



Relevant Pages

  • Re: OpenSSH option to set default hostkey directory?
    ... >I am configuring an mpi program to use ssh instead of rsh, ... >compile-time I have to specify the full command to use instead of rsh. ... or chdirto the home directory before running "ssh -i .ssh/batchmode" ...
    (comp.security.ssh)
  • Re: Ssh/Rsh problems
    ... > I am encountering problems with both ssh and rsh, ... > When I attempt to run a command on a remote machine via ssh, ...
    (comp.os.linux.security)
  • Re: how to enable rsh on solaris 10
    ... I m trying to execute some command on my Solaris 10 box from Windows ... rsh -l username comamnd ... You can use ssh in place of rsh for remote host command execution, ... you need to generate keys and set them up to be "authorized keys" on the target host. ...
    (comp.unix.solaris)
  • Re: linux samba configuration??? and running remote applications
    ... > Use telnet or ssh. ... Or rsh. ... Or set up a command in your /etc/aliases file. ... Dave Ihnat ...
    (RedHat)
  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)