Re: Cannot rsh from linux to aix

despammed_at_duke.edu
Date: 09/22/04


Date: Wed, 22 Sep 2004 16:51:46 +0000 (UTC)

In article <aeOdnawEfv_V5c3cRVn-rQ@comcast.com>,
Rich Olver <keystonegeo@comcast.net> wrote:
>
> The command just hangs.
>IE > rsh aixbox date
>will just sit there, for a long time.
>

rsh without a command uses rlogin, connecting to the rlogind on the
remote host. rsh with a command uses rsh, connecting to the rshd on the
remote host. Since rsh without a command works, the remote host must be
running rlogind. Since rsh with a command does not (apparently timing out
after 60 seconds?), the remote host probably is not running the rshd
daemon, or has it configured not to allow your local host to connect.

Either have the admin on the remote host run the rshd daemon, or
(preferably) use ssh (with the remote host running sshd).

-- 
Steve


Relevant Pages

  • Execute commands remotely and get its result
    ... What services should that remote host should run to provide the remsh ... or rsh connection? ... If I telnetto the remote host from my local terminal and execute a ... command, the command doesn't be executed remotely, right? ...
    (comp.unix.shell)
  • Re: Execute commands remotely and get its result
    ... What services should that remote host should run to provide the remsh ... or rsh connection? ... If I telnetto the remote host from my local terminal and execute a ... command, the command doesn't be executed remotely, right? ...
    (comp.unix.shell)
  • 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)

Quantcast