Re: Remote execute

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 04/19/04


Date: Mon, 19 Apr 2004 14:45:57 -0000

On 19 Apr 2004 06:52:41 -0700, Ram DSL
  <reachram@bharatmail.com> wrote:
> Dear Friends,
> I'm assigned to write a shell script, to execute a script which is
> another server. (lets say start.ksh in server 2.)
> I have tried the options of rsh and ssh. But there is no password
> facility there. Pl suggest me a correct way.
> Thanks in advance.
> Ram DSL,
> London
> www.dslsoft.net

Old insecure way: rsh with .rhosts file.
Modern way: ssh with public key authentication.

-- 
Giraffe: a ruminant with a view.


Relevant Pages

  • Re: how to enable rsh on solaris 10
    ... i m writing a shell script which will execute a particular shell script ... able to rsh from win machine. ... I'd strongly recommend usign "ssh" instead (PuTTY on Windows as client) ...
    (comp.unix.solaris)
  • Re: Remote execute
    ... Can you show how to do "ssh with public key authentication"? ... >> I'm assigned to write a shell script, to execute a script which is ... >> I have tried the options of rsh and ssh. ...
    (comp.unix.shell)
  • Re: executing ssh from shell script
    ... I am trying to execute a shell script on a remote machine ... The copyexecutable script works fine if I ssh into the remote machine ...
    (comp.os.linux.networking)
  • Re: rsh works on the ksh prompt but not in a shell script
    ... Either put an entry into .rhosts, or use ssh. ... > I am trying the foll rsh command from the shell script and it works ... > Now the above command works and shows me the listing as needed. ...
    (comp.unix.aix)
  • Re: how to give password for ssh connection from shell script]
    ... send "whatever command to execute" ... how can i give password for a ssh connection from shell script. ...
    (RedHat)