Automating by using SSH
Secure Shell (SSH) is a network protocol for secure data communication, remote shell services, or command execution and other secure network services between two networked computers. The networked computers connect through a secure channel over an insecure network: a server and a client (running SSH server and SSH client programs, respectively). You can use the SSH protocol to automate processes in BMC Release Process Management.
As the user, you must create the automation process. You can use a supplied script or write your own script (in Ruby). You can modify a default script to suit your requirements. You can import one script or multiple scripts from the Import from Library link.
This topic provides the following information and instructions for using SSH for automation:
To import scripts from the library
From the SSH tab, click Import from library.
- In the dialog box that lists the scripts, select the check boxes for the scripts you want.
You can select one or multiple check boxes. - Click Import.
To create an automation using SSH
- Click Environments > Automation.
The SSH page appears. - On the left, click Create Automation.
- In the SSH scripts page, type the script name and the description in the Script name and Description fields.
- In the Script body field, write your script.
- Click Add Script.
- After the script is added, click its name on the SSH scripts page.
- If you need to map the script according to your requirements, click map and map the required parameters, and then click Save.
- Click Update script.
- On the SSH scripts page, click the test tab associated with your script.
The script runs, which might take a few seconds. If you script is correct, and the parameters are correct, the results do product an error. - Click Output results file to see the results.