Previous Topic: Operator PortsNext Topic: Run SSH Script Operator


Example

This example explains how the Run SSH Command operator operates interactively.

Follow these steps::

  1. Open an SSH connection to the remote host.
  2. Log in non-interactively using one of the following:
  3. Read from the SSH session until one of the following occurs:
  4. Determine whether the operator is set to Run Commands as Another User.
  5. Send the Switch User Command and read from the SSH session until one of the following occurs:
  6. The Run SSH Command operator has logged in and switched the user, if applicable. The operator is now ready to execute the commands.
  7. Loop through the commands, sending one command at a time, and read from the SSH session until one of the following occurs: