Execute Terminal Command(s)

Use the Execute Terminal Command(s) activity to send terminal commands to a remote target.

Usage

Complete the following properties to use this activity:

  • Terminal - Specify the following information or click the Variable Reference icon to choose a variable:
    • Input Command(s) - Enter the SSH commands and other inputs.
    • Ends with Special Character (Only If Send All the Lines As One Input Selected) - Click the drop-down list and choose the option to place at the end of the lines that are sent with the command input. The available options are Ctrl_A through Ctrl_Z and Ctrl_Shift_6.
    • Multiple Lines Option - Click the radio button to select one of the following options:
      • Send All the Lines As One Input - Sends all lines in plain text as one input.
      • Send Next Line Only if Previous Line Succeeded - Sends a line as an input if there is a previous line before the input.
    • Individual Command Timeout (Seconds) - Enter a value to specify the time to wait for an individual user input to be completed before timing out.
      • Expects (regex) - Click Add and enter the following information or click the Variable Reference icon to choose a variable:
        • Failed (completed) - Enter the failed prompt prefix.
        • Succeeded - Enter the succeeded prompt prefix.
        • User Response - Enter the user response prompt prefix.