
The Run SSH Script operator works in interactive mode to accommodate network devices, where the presence of a file system is unknown.
Note: For non-interactive SSH communication, use a proxy touchpoint or a host group.
The operator uses the login credentials that you specify to do the following:
Note: When you specify a script, either bean shell or JavaScript, the "conn" object is made available in the scope of this script.
You can leverage the public methods of the "conn" object in the script. You can use these public methods to automate operations executed on an SSH pseudo terminal. Examples include sending commands to the remote SSH host, waiting for the prompt after sending each command, and retrieving the output of each command from the server through SSH.
Unlike the Run Telnet Script operator, the Run SSH Script operator provides you with the "conn" object after logging in to the SSH host.
The difference between the Run SSH Script operator and the Run SSH Commands operator is that in the Run SSH Commands operator:
While in the Run SSH Script:
|
Copyright © 2014 CA.
All rights reserved.
|
|