Configure the SSH execution command

Use the input variables you created to configure the command that Orchestration executes on the host target.

Before you begin

Create the input variables you need in the Inputs form before you advance to the Execution Command stage.

Role required: activity_creator, admin

Note: You can test the SSH connection between the MID Server and the target without having to run the acvitity in a workflow context. For details, see Test SSH activity template inputs.

Procedure

  1. Drag variables from the list of inputs and drop them into command fields.
    The system formats the variable in the proper syntax for the command.
    Figure 1. SSH execution command
    SSH execution command
  2. Complete the fields shown in the table.
    Table 1. SSH activity inputs
    Field Description
    Input Input variable builder. Create variables to map to available fields.
    Target host Host name or IP address of the target server for this activity.
    Command Command this activity runs on the target host.

    You can invoke a MID Server script from this field using any script type that is supported by the SSH command line. For more information, see Advanced SSH script options below the table.

    Directory Directory on the target host where the command is run.
    Credential tag The Orchestration credential tag to use when running the command.
    Select MID Server by capabilities MID Server with the appropriate capabilities for connecting to the host. By default, the system selects a MID Server with SSH capabilities
    Long running Check box to disable the SSH connection timeout for commands that might take longer to run than the default 60 seconds. Orchestration periodically checks the running process to determine its status until it is finished.
    Must Sudo Check box to allow the use of sudo to run commands.
  3. Click Save.
  4. Click Continue to advance to the Outputs stage.