Re: Ssh/Rsh problems

From: Peter Barganski (peter.barganski@surfkitchen.com)
Date: 02/26/03

  • Next message: Yer Fooked: "Re: iptables vs. Internet Explorer problem"
    From: peter.barganski@surfkitchen.com (Peter Barganski)
    Date: 26 Feb 2003 11:04:48 -0800
    
    

    Had the same problem. Turned out to be the IPTables firewall service
    blocking access.

    Modify your IPTables rules or simply switch it off with 'service
    iptables stop' if you feel your net is well protected.

    Peter

    ireidlin@ianreidconsulting.com (Ian) wrote in message news:<8391f7e7.0302252145.1d3a26a5@posting.google.com>...
    > 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: Ssh/Rsh problems
      ... Turned out to be the IPTables firewall service ... >> 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: IPTABLES
      ... > I need to setup the firewall IPTABLES on CentOS. ... You set up the firewall using command line commands. ... > allow to acces FROM the LAN only to a computer with MAC ADRESS xxxxxx. ...
      (comp.os.linux.setup)
    • Re: Odd tcp dump? was: ssh working with dialup, not through router
      ... and try to run the iptables command you ... debug3: tty_make_modes: 91 1 ... debug1: fd 3 setting TCP_NODELAY ...
      (Fedora)
    • Re: Blocking incoming IP address immediately
      ... > iptables service, it continues to let him stay in. ... This does the same thing as your rules-save command, ... "Roger Wilco" game are one and the same machine??? ...
      (comp.os.linux.security)
    • Re: RPM problem on FC3/x86_64
      ... Now it's downloading and upgrades. ... > What's with the command line rpm? ...
      (Fedora)