Previous Topic: Configure Command Execution: Default SSH PropertiesNext Topic: Configure Command Execution: Default UNIX Command Execution Properties


Configure Command Execution: Default Telnet Properties

Configuration of the default Telnet properties includes the following tasks:

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. On the Default Telnet Properties tab, select the default pseudo terminal to request on the Telnet connection.
  4. Select the default port with which to connect to the remote host.

    Note: Port 23 is the system TCP/UDP port for Telnet.

  5. For Connection Timeout (sec), use the spinner to select the interval (in seconds) the connection waits before timing out.
  6. Select a default login scheme from the drop-down list.
  7. Define the default login prompts and values:
    1. Enter a regular expression for the login prompt (for example, enter .*ogin.*:).
    2. Enter the user name with which to log in to the remote host.
    3. Enter a regular expression for the default text prompt that indicates that the remote host requires a password for the user logging in (for example, enter .*assword.*:).
    4. Enter the default password to use for logging in to the remote host.
  8. Enter a regular expression for the command prompt that indicates that the remote host is ready for commands (for example, enter .*[$>?:#]).

    Note: To use a dollar symbol in a regular expression, enclose it in square brackets. For example, [$].

  9. Select the interval (in seconds) that the connection waits for the prompt to send the commands.
  10. Define the default values for switching users:
    1. Specify whether to switch users before running the script or the specified commands.
    2. Enter the operating system-specific command with which to switch the user on the remote host.

      Note: The "su -root" command switches the user to the root user.

      Consider the following examples:

      su - <username>
      
      sudo su - <username>
      
    3. Enter a regular expression for the default text prompt for the switch user password (for example, enter .*assword.*:).
    4. Enter the default password to enter at the password text prompt.
    5. Enter a regular expression for the prompt that indicates that the remote host is ready for commands as the switched user.

      Note: Hash (#), greater than (>), and question mark (?) are the typical command prompts. Enter .*[$>?:#] to match any input (including new lines) that a #, >, ?, $ (dollar sign), or : (colon) follows.

      Consider the following examples:

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

      Note: To use a dollar symbol in a regular expression, enclose it in square brackets. For example, [$].

  11. Click Save and Close.
  12. Click Save.
  13. Select Domain and click Unlock.