Book Image

VMware vRealize Orchestrator Cookbook

By : Daniel Langenhan
Book Image

VMware vRealize Orchestrator Cookbook

By: Daniel Langenhan

Overview of this book

Table of Contents (15 chapters)
VMware vRealize Orchestrator Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Create a new workflow and create the following variables:

    Name

    Type

    Place

    Usage

    host

    String

    IN

    The IP or FQDN of the...