Previous Topic: About Command ExecutionNext Topic: Configure Command Execution: Default Telnet Properties


Configure Command Execution: Default SSH Properties

When you configure the default SSH properties, you configure the following items:

Follow these steps:

  1. Click the Configuration tab, select Domain, and click Lock.
  2. Click the Modules tab, right-click Command Execution, and select Edit.
  3. Select the Default SSH Properties tab.
  4. Select the default pseudo terminal type to request on the SSH connection.

    Note: VT100 typically works with Linux hosts; VT400 typically works with Windows hosts.

  5. Select the default port with which to connect to the remote host.

    Note: Port 22 is the system TCP/UDP port for the Secure Shell (SSH) Protocol.

  6. Enter the default for the user name with which to log in to the remote host.
  7. Specify the private key defaults:
    1. Indicate whether to use a private key to log in.

      Note: The alternative is to use the password information.

    2. Enter the default password with which to log in to the remote host.
    3. Click Browse (...) and retrieve the private key content (that is, the content of a default private key with which to log in to the remote host).
    4. Enter the path to a default private key with which to log in to the remote host.
    5. Enter the passphrase with which to unlock the content of the default private key.

      Note: The passphrase is required if the default private key was created with a passphrase.

  8. Specify the defaults for running the script or specified commands as a different user.
    1. Indicate whether to run the script or the specified commands as a different user.
    2. Enter the operating system-specific command to switch the user on the remote host. The command "su -root" switches users to the root user. For example:
      su - <username>
      
      sudo su - <username>
      
    3. Enter a regular expression for the default text prompt if the remote host requires a password to switch users.

      The text prompt is typically "Password: " or "password: ". The regular expression, ".*assword: " matches any input (including new lines) and an uppercase "P" or lowercase "p" followed by “assword: “.

    4. Enter the default password to enter at the text prompt if the remote host requires a password to switch users.
    5. Enter a regular expression for the command prompt that indicates that the remote host is ready for commands as the switched user.

      Typical command prompts are # (hash), > (greater than), and ? (question mark). The entry .*[$>?:#] matches any input (including new lines) that is followed by a #, >, ?, $ (dollar symbol), or : (colon). Consider the following examples:

      .*[$]
      
      .*[$>?:#]
      

      Note: When you use a dollar symbol in a regular expression, enclose it in square brackets. A dollar symbol without brackets has a special meaning in regular expressions.

  9. Click Save and Close.
  10. Click Save.
  11. Select Domain and click Unlock.

More information:

About Command Execution

Override Settings Inherited by a Category of Operators

Category Configuration and Operator Inheritance

Configuring Operator Categories