AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Run file from remote server

    Posted Sun May 02, 2010 11:06 AM

    Originally posted by: sajid1


    Hi,

    How could i run a file for remote server.
    Example. There are two 10.60.2.222 and 10.60.2.223 server.
    There is a file(Alloc.jar) that is located at 10.60.2.222 and i have to run it from 10.60.2.223 How could i do that?

    Thanks,
    #AIX-Forum


  • 2.  Re: Run file from remote server

    Posted Sun May 02, 2010 07:20 PM

    Originally posted by: dukessd


    man rsh
    #AIX-Forum


  • 3.  Re: Run file from remote server

    Posted Mon May 03, 2010 12:15 AM

    Originally posted by: Kosala


    or ssh. There are several options, with passwords, without password, with encryption, without encryption...your choice (man ssh).

    Kosala
    #AIX-Forum


  • 4.  Re: Run file from remote server

    Posted Mon May 03, 2010 12:32 AM

    Originally posted by: orphy


    As suggested, either rsh or ssh will do but in case you don't already know, you might consider putting the java run into a script on the remote server. In the script, you could set everything (e.g. JAVA_HOME) you need in order to execute; otherwise, depending on how complicated your run is, you might run into issues.
    Orphy
    #AIX-Forum


  • 5.  Re: Run file from remote server

    Posted Tue May 04, 2010 09:51 AM

    Originally posted by: Casey_B


    Here is a good tutorial.

    http://www.ibm.com/developerworks/library/l-keyc.html

    Hope this helps,
    Casey
    #AIX-Forum