Cannot rsh from linux to aix

From: Rich Olver (keystonegeo_at_comcast.net)
Date: 09/21/04


Date: Tue, 21 Sep 2004 12:52:35 -0600

Hi:
    I have an application which needs to use rsh to send commands from a
Linux box (RHEL3) to an AIX 4.3.3 rs/6000 box.

    The command just hangs.
IE > rsh aixbox date
will just sit there, for a long time.

The user name, password, and user ID are the same on both boxes.
On the AIX box I have a .rhosts file correctly placed, and a hosts.equiv
file set up correctly.

In fact, as you know, if you type 'rsh' without a command listed, it
will try to rlogin you in. This in fact works!
IE > rsh aixbox
   will open a rlogin connection, without even asking for a password.

I suspect that there's something going on with the Linux box, and the
output from the rsh command isn't being properly greeted upon it's return.

Can anyone help?

Thanks
Rich Olver
Denver



Relevant Pages

  • Re: Problem with rsh from AIX to linux.
    ... > I started having trouble running rsh from a AIX 5.1 system to Linux. ... > The command returns without any output and exit code of 1. ... > on linuxsys I do not see any tar or gzip processes running. ...
    (comp.os.linux.misc)
  • Re: Problem with rsh from AIX to linux.
    ... > I started having trouble running rsh from a AIX 5.1 system to Linux. ... > The command returns without any output and exit code of 1. ... > on linuxsys I do not see any tar or gzip processes running. ...
    (comp.unix.aix)
  • Re: Does xp_cmdshell kill commands?
    ... default of 600 and "query timeout" is set at the default ... When run "normally" (from a command prompt or batch file) it worked ... including the native Windows rsh command and Cygwin's rsh ... >> Linux, VMS, and a Windows system running a Windows rshd. ...
    (microsoft.public.sqlserver.server)
  • Re: Cannot rsh from linux to aix
    ... Rich Olver wrote: ... > The command just hangs. ... > IE> rsh aixbox date ...
    (comp.unix.admin)
  • Re: How to detach from remote command?
    ... the rsh keeps the connection open until the sleep command ... rsh remote sleep 100 "&" ... to the remote machine. ...
    (comp.os.linux)

Quantcast