Cisco Cisco Process Orchestrator 3.1 User Guide

Page of 786
 
13-117
Cisco Process Orchestrator 3.1 User Guide
 
Appendix 13      Using Adapters
  Terminal Adapter
Terminal Adapter
The Terminal adapter provides the functionality to execute commands, scripts and session-based 
activities against a system or network device using SSH or Telnet. While SSH is more secure than telnet, 
many environments use a telnet connection and using a SSH connection against such devices will not be 
possible. The Terminal adapter allows you the flexibility to execute against those devices.
The Terminal adapter allows Cisco Process Orchestrator to run commands and script activities on a 
system or network device that has Secure Shell (SSH) enabled. The Terminal adapter also contains three 
session-based activities that allow you to open new SSH/Telnet sessions and interact with the previously 
opened sessions.
SSH and Telnet leverage the same command execution activities differentiated by the target type they 
are deployed against.  For example, an IOS target can have SSH or telnet optionally configured.
Cisco Process Orchestrator requires SFTP to be configured on the Unix/Linux system to execute SSH 
activities. SFTP is not needed for the SSH/Telnet Terminal Session activities.
The Terminal Adapter for Cisco Process Orchestrator:
  •
Provides host-based and public key authentication and improves upon the existing expects 
functionality. The authentication enhancement allows users to apply host-based authentication from 
the adapter level. Users can also apply public key authentication on the device target level.
  •
Allows you to create expect templates for their login expects. Expect templates allow you to 
leverage existing login expect sequences when applying expects to a device target or activity.
  •
Is now FIPS-compliant and allows you to enable FIPS-compliant algorithms.
The following table displays activities that are provided by the Terminal adapter. For more information 
about using these activities, see 
Activity
Description
Close Terminal Session Closes a Terminal session opened by a previous Open Terminal Session 
activity
See 
Execute Terminal 
Command(s)
Sends commands to a terminal command session started by a previous Open 
Terminal Session activity
See 
Execute Unix/Linux 
SSH Command
Specifies a Unix/Linux SSH command to execute
See 
Execute Unix/Linux 
SSH Script
Specifies a Unix/Linux SSH script to execute
See 
Get File
Retrieves files from a Unix/Linux system target to transfer to a specified local 
directory
See 
Open Terminal Session Starts an SSH session on a selected Terminal target
See 
Put File
Pushes local files to a Unix/Linux system target
See