Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2009
    Posts
    9

    Unanswered: Shell Script need to be executed remotely

    Hi all,
    I want to execute the shell script remotely.I've Shell script in server1 .
    By log-in into server1,i want to execute the same script in server2
    without ftp or scp(copy) the script to server2.

    Thanks in Advance
    BADE

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    maybe task center can help
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Nov 2009
    Posts
    9
    Thanks for ur reply,I don't want to execute the script in taskcenter,cron or unicentre.
    I'm trying to avoid having to set it up on the server2.
    Looking for a remote execution solution.Help me regarding this.

    Thanks
    BADE

  4. #4
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,369
    Take a look at rsh/ssh. You may need to copy your script to the filesystem accessible by both servers.

  5. #5
    Join Date
    Nov 2009
    Posts
    3
    I've tried both rsh and ssh ..but we have to copy the script into server2.
    is there anyway to run the script remotely without copying into server2.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •