SSH Engine state is configured to connect to a client's machine or network and remotely execute commands or scripts on the client's Linux/UNIX operating system.
Prerequisite
Bridge must be installed and should be active. Learn how to install and configure Bridge.
A Credential must be created for the SSH module by selecting the credential type SSH.
For more details about the SSH module in Bridge, the keys, and its description, click here.
For associating an SSH Engine state to a circuit in builder view:
Drag and drop the SSH Engine state from the left pane into your circuit, or click an existing SSH Engine state to edit its configuration.
In the Configuration, update the common state field attributes.
In Bridge ID, click and select the Bridge to be configured to the state from the drop-down list.
Under the Add Configuration section, fill in the following fields:
Credential ID - Choose from the list of SSH credentials available in the Credentials module. These credentials are used to authenticate and connect to the target machine.
Host - Specify the hostname of the machine in which the shell command has to be executed. Enter the host name as localhost, if the shell command is executed on the same Bridge-installed machine.
Execution Type: Choose between the below two options:
Command - Directly enter the shell command to be executed. You can also include a reference to a script file available on the host machine. To create a new script file, refer to Scripts.
File - If executing a script file, configure the following:
Script Type: Choose either Shell Script or Bash Script.
Script ID: Select a script maintained in Qntrl’s Scripts module for easy reference and reuse.
Script File Path: Alternatively, you can enter the direct file path to the script on your machine.
In Input / Output, enter the required paths. Learn more about I/O paths.
"Linux OS Installation": {"type": "ssh_engine","next": "Licence Key Activation-Linux","bridge_id": "bridge-1368_1","payload": {"execution_type": "file","credential_id": "ssh_cred_4","host": "localhost","command": "display.sh"}}
You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.