Working with SSH
This recipe centers on using the SSH plugin. With this plugin, you are able to connect to a Linux- or Solaris-based system, run programs, or transfer files.
Getting ready
We need to be able to create a new workflow. We also need a Linux or Solaris system that we can access via SSH (for example, as root). If you don't have any Linux system handy, you can use the Orchestrator appliance itself.
For the SCP example, you need to allow Orchestrator access to its local filesystem. Refer to the Configuring access to the local filesystem recipe in Chapter 2, Optimizing Orchestrator Configuration.
How to do it...
We split this recipe into three parts: SSH access, SSL key access, and SCP usage.
Using SSH
You will find a very good, while rather chatty (logs) SSH workflow in Library | SSH | Run SSH command. However, we will create a new short version to showcase SSH:
Create a new workflow and create the following variables:
Name
Type
Place
Usage
host
String
IN
The IP or FQDN of the...