Versions Compared

Key

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

...

After the execution of the script or command the jobs reads the return values from a temporary created file on the remote host, returns them to the Jobscheduler for further processing and deletes the temporary file afterwards.

New Parameters

general information

The default values use the linux bash syntax. These parameters have to be set only if running on systems using a different syntax than the linux bash syntax. Please choose the format of the command value and it placeholders according to the operating system on the remote host.

preCommand

  • format: 
    • <command> <placeholder1> = <placeholder2>
  • default value: 
    • export %1s=%2s
  • description: 
    • The
    default value uses the linux bash syntax
    • command to set an environment variable. The values for placeholders 1 and 2 will be set implicitly through the job execution.
    There is no need to set those values directly, but those
    • The placeholders are mandatory.
    This parameter has to be set only if you work on systems using a different syntax than the linux bash syntax. Please choose the format of the command and placeholders according to the operating system on the remote host.

postCommandRead

  • format: 
    • <command> <placeholder>
  • default value: 
    • cat %s
  • description:
    • The command to read the temporary file where the return values are written to through the script/command execution of the SSH job. The placeholder will be substituted through the job execution. 

postCommandDelete

  • format: 
    • <command> <placeholder>
  • default value: 
    • rm %s
  • description:
    • The command to delete the temporary file with the return values. The placeholder will be substituted through the job execution. 

Configuration

THe SSH JCraft job will replace the existing SSH Job in future releases. 

To use the return values feature configure a SSH job with JOE and choose SOSSSHJob2JSAdapterJcraft

Image Added

Example of the parameter configuration for a Windows Client 

For known limitations using the SSH Job to connect to a Windows Remote Host see Limitations when using SSH jobs for Windows.

Image Added