Automation Action – Execute Secure Shell Command | ThinkAutomation

Automation Action: Execute Secure Shell Command

Execute SSH commands against any host and assign the response to a variable.

Executes a command on a remote SSH Server. Most UNIX/Linux/Mac machines include an SSH Server. The output of the command can be returned to a variable.

Enter the Host Name IP Address or host name of the server you want to execute the command on.

Enter the Port. This defaults to 22. If no port is specified then the default will be used.

Enter the remote User Name & Password. This user must be allowed to execute remote commands on the host system.

Enter the Command Text to execute.

All entries can use %variable% replacements.

The result of the command can be returned to a variable. Specify the variable from the Assign Response To list.

Any errors generated by the command can also be returned to a variable. Select from the Assign Errors To list.

Showing A Notification On A Mac

The following command will display a notification on a Mac computer:

osascript -e 'display notification "Processed Message %msg_subject%" with title "ThinkAutomation" subtitle "%AccountName%" sound name "Default" '

Speaking Text On A Mac

The following command will speak the given text on a Mac computer:

say "you have received a new message from Think Automation!"
To enable the Remote SSH server on a Mac, use System Preferences – Sharing. Enable the ‘Remote Login’ option.
This is one action from over 180 actions included with ThinkAutomation. The ThinkAutomation business process automation (BPA) solution is designed to automate on-premises and cloud-based business processes that are triggered from incoming messages. Automate messages received by email, database updates, webhooks, web forms, web chat, SMS messages, Twitter, Teams messages, documents, local files and other messages sources. Create any number of workflow automations using the drag-and-drop low-code designer. Simple fixed pricing, with unlimited message processing reduces overall costs compared to hosted automation solutions.

You can also extend ThinkAutomation by creating your own custom automation actions using the built-in designer and C#/VB.net code editor.

Download Free 30 Day Trial

Back To Automation Actions List

ThinkAutomation Home