Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This job is an JITL job which is configured to execute an command on remote server using ssh. The SSH JITL job can be configured to connect using Private/public key pair, or with userid/password.
More information about SSH JITL job can be found here http://www.sos-berlin.com/doc/JITL/SOSSSHJob2JSAdapter.xml SSH_JITL_JOB_PARAMETERS].

Code Block
languagehtml/xml
<?xml version="1.0" encoding="ISO-8859-1"?>


<job  title="Launch commands or executable files by SSH" order="yes" name="ssh_start_proccessing">
    <description >
        <include  file="jobs/SOSSSHJob2JSAdapter.xml"/>
    </description>

    <params >
        <param  name="host" value="homer.sos"/>

        <param  name="port" value="22"/>

        <param  name="user" value="test"/>

        <param  name="auth_method" value="password"/>

        <param  name="command" value="uname -an"/>

        <param  name="password" value="super_secret"/>
    </params>

    <script  language="java" java_class="sos.scheduler.job.SOSSSHJob2JSAdapter"/>

    <run_time />
</job>

...