Versions Compared

Key

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

...

The feature is available only with the use of the JSch implementation by JCraft. To configure your SSH Job to use the JSch implementation, see How To - Usage of the SSH Job (SOSSSHJob2JSAdapter Job ) with JCrafts JCraft's JSch .

The SSH Session Management will carry out one of the following actions after checking the remote processes and JobScheduler tasks:

...

  • format:
    • <command>
  • default value:
    • echo $$
  • description:
    • A command or script that writes the pid of the connected shell to stdout of the remote host.

ssh_job_get_child_processes_command

  • format:
    • <command> \${pid}
  • default value:
    • /bin/ps -ef | pgrep -P\${pid}
  • description:
    • The command or script determines the child processes of the given pid. The command or script depends on the OS of the remote host.
       The ${pid} placeholders will be substituted by the cleanup job. Note that the leading $ character has to be escaped with "\".

ssh_job_get_active_processes_command

...