Overview

The SSH Client Action Plugin executes any arbitrary command or script on any SSH accessible remote machine. It can be used as an Incident Action plugin to perform some action on a remote machine as a result of an incident triggering.

Name

SSH Action Plugin

Plug-In Version

1.0.2

Compatible with

dynaTrace >= 4.x

Author

Joe Hoffman (joe.hoffman@dynatrace.com)

License

dynaTrace BSD

Support

Community Supported

Downloads

com.dynatrace.sshClient_1.0.2.jar

Key benefits

Ensures encrypted communication with remote machine
Executes any command or script
Open source: Adaptable as necessary
OS Independent
Uses the jsch (java Secure Channel) encryption package which is an implementation of SSH2

Additional Notes

It accepts SSH connections from whatever responds on port 22 on the specified machine. This means that it could be vulnerable to a Man in the Middle attack. Therefore we suggest running it on and across only trusted networks.
This plugin requires an SSH service be running on the specified remote machine. FreeSSHd is a good option for any OS that does not have SSH natively.

Configuration

Debugging

Output from the executed command is written to the plugin log which can be found in the log directory of the Collector where the plugin is being executed.

Additional suggested Improvements

Contribution

Feel free to contribute any changes on Github