Close Connection

If you try to run two policies containing SSH objects at the same time, then unexpected errors can occur. For example, the first policy can send commands in the SSH session created by the second policy. These errors occur because a class which handles the SSH connection is static.

This Automation Manager object closes an existing SSH connection to a device. This object should be placed as the last object in an SSH or Telnet connection Automation Policy.

Input Parameters

No input parameters required.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.