Re: Cannot rsh from linux to aix

From: Laurenz Albe (albe_at_culturallNOSPAM.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 08:37:07 +0000 (UTC)

Rich Olver <keystonegeo@comcast.net> wrote:
> 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.
>
> 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.

One option is to turn on all diagnostic flags you have and see if
you get some information. Look at the man pages for details.

While the command hangs, try a ps -ef on the AIX machine and see what
runs there.

Someone else suggested redirection of stdout end stderr and check for
dot file problems, both good ideas.

Yours,
Laurenz Albe



Relevant Pages

  • 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: 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)
  • Re: Cannot rsh from linux to aix
    ... Kerberos was running on my Linux machine, but not on the AIX machine. ... The key command to run was ... (which returned that rsh was running through kerberos) ... > remote host. ...
    (comp.unix.admin)
  • 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. ... I also checked the patchlevels on both of the AIX 5.1 systems and they are ...
    (comp.unix.aix)
  • Re: Problem with rsh from AIX to linux.
    ... While stranded on information super highway Villy Kruse wrote: ... In my experience, the parenteses are not ... > That would prevent an embarasment if the cd command failed. ... I can run rsh from A to C without any problem. ...
    (comp.unix.aix)