Introduction
The JS7 - JITL SSHJob implements an SSH client (Secure Shell) and allows to execute shell code, scripts and programs on a remote host without a JS7 Agent being installed on that host. As a prerequisite the remote host has to operate an SSH server.
The SSHJob allows execution on Unix and Windows systems.
- The beauty of SSH is its simplicity. It allows public/private key authentication and is well suited to execute programs for specific accounts.
- The JITL SSHJob allows shell scripts to add return values to orders.
- One of the restrictions of SSH connections is that there is limited control of child processes on the remote host.
- If a number of child processes are spawned by a program during an SSH session and that session is aborted then child processes will continue to run.
- The SSHJob provides a method for monitoring SSH connections that allows both remote sessions and local task to be terminated.
- The SSHJob provides a means to control the behavior with output to stderr and exit codes of shell commands.
- For Windows operating systems hardly any products with decent SSH server capabilities are available, therefore use of JS7 Agents for Windows is preferable.
Feature Summary
SSH Remote Host Connections
The SSHJob connects to a remote host without the need to install a local SSH client.
- Supported operations on the remote host include
- to execute commands (including commands that are specific for the operating system),
- to execute scripts,
- to transfer scripts to the remote host and to execute such scripts on the remote host,
- to propagate environment variables to the remote host,
- to add return values to orders for use with follow-on jobs in the workflow.
SSH Session Management
- Provides control over remote sessions.
- Rules the termination of remote child processes and parent processes with SIGTERM and SIGKILL.
Further Resources
Overview
Content Tools