Opening a Telnet or SSH session
This topic describes how to open a Telnet or SSH session from the TrueSight Network Automation user interface.
To open a Telnet or SSH session
- Open the Telnet/SSH Session page by navigating to Network > Actions > Telnet/SSH Session.
- Enter information in the fields as follows:
Change ID: (Optional) Track this span action to an external Change ID (for example, internal RFC process or Remedy). To assist with change documentation, the Job Summary report summarizes the Job Details for each span action referencing the same Change ID.
If Continuous Compliance for Network Automation is enabled in the system parameters, what you enter in the Change ID field is masked according to the mask specified in the global.propertiesfile. You can use this feature to enter only the unique low-order characters of the Change ID.If what you enter does not fit the mask pattern (for example, too many digits or non-numeric characters), an error message appears.
These validations are performed when Telnet/SSH is used through a proxy command prompt. For more information, see Validation of Change ID and Task ID.- Task ID: (Optional) Track this span action to an external Task ID. To assist with change documentation, the Job Summary report summarizes the Job Details for each span action referencing the same Task ID.
In a manner similar to Change ID, what you enter in the Task ID field is masked according to the mask specified in the global.properties file. The default task mask is TAS000000000000. See Default-global-properties-file. For more information about the validation of the Task ID, see Validation of Change ID and Task ID . - Device: Select the realm, as required, and the device.
- Annotation: (Optional) This annotation is added to the Telnet/SSH Session Job Details.
- Options: Select the Use Auxiliary Interface option to use the auxiliary interface for connecting to the device. When this option is not selected, or when the span is not a device, the primary interface is used.
Login Username and Login Password: Enter the user name and password for the selected device.
These fields are only displayed when the selected device has an access mode of SSH or Auto. These types of device connection require that the user name and password be provided before the session starts, unlike devices that have a Telnet access mode.- Click Submit to start the Telnet or SSH session.
Validation of Change ID and Task ID
The following validations can be performed in a Telnet/SSH job during the opening of the session:
- The Change ID, if specified, must be valid in BMC Remedy Change Management.
- The Task ID, if specified, must be valid in BMC Remedy Change Management.
- The task that matches the specified Change ID and Task ID must be in the Assigned state.
- The job must be scheduled to run within the Scheduled Start and Stop Dates of the task that matches the specified Change ID and Task ID.
- The specified device must be a CI in BMC Remedy that is related to the task that matches the specified Change ID and Task ID.
Two global properties are available to indicate whether and what validation checks should be enforced, as listed in the following table:
Property | Description | |
---|---|---|
aoEnforceTerminalJobsValidation | Determines whether or not enhanced validation checks should be made for the Change ID and Task ID fields when creating the Terminal Job. The default value is false. | |
aoTerminalJobValidation | Specifies the validation checks that are performed for the Change ID and Task ID when creating the Terminal Job. | |
validateChangeTaskExist | Validates that the Change ID and Task ID exist in BMC Remedy IT Service Management | |
validateTaskStatusAssigned | Validates that the change is scheduled and the task is assigned | |
validateTaskUser | Validates that the user who originates the job is the user that is assigned to the task | |
validateTaskDate | Validates that the job run time falls between the task's Scheduled Start and Stop dates | |
validateTaskCI | Validates that the device in the job is the device specified in the task | |
The default is all options selected: aoTerminalJobValidation= validateChangeTaskExist,validateTaskStatusAssigned, validateTaskUser,validateTaskDate,validateTaskCI |