Requirements
  • A SSH Server: On windows: Cygwin or Bitvise-SSH and on Linux, any SSH server will do.
  • Basic Version of “Control-Freak”
  • Some basic knowledge about Shells: Bash or Batch on Windows.
1. Create a Device
  • Create a device by right click on a “group” (or folder as you like):

  • You must create a basic device and choose “SSH” as the Protocol:

Don’t enable it yet!

2. Set Basic Options

Next step is setting the login options. To do that, please open the “Settings” in the device-tree-view again:

In the options, please click the rectangle to “Append” a new options. We need to set:

  • username
  • password

You can also add more options. Please check the options in the documentation of the used SSH-2 library here. Please press the “Save” button in the options editor as soon your’e done.

3. Enable and Connect

3. As next, you must choose the built-in driver “SSH” for that device. After all settings entered, you can connect to the SSH-Host by simply enabling it, or connecting via context-menu:

At this point, the device-server create the connection for you and it remains connected until the device is being disabled or disconnected manually. That means also that all commands will be send over the same connection and therefore runs fast.

4. Create Commands
  • When your device is connected, it will have a green icon in the device – tree – view. We can start adding commands to the driver now. For that open the driver-instance directly:

  • Just to test: Open the “Console Tab” and send something like “ls” or “dir” for Windows hosts.

  • As next we can add “Commands” as usual:

  • Give it a same, and set the command in the “Send” tab:

Now you’re done!

Summary

Summary:

  • The built-in SSH driver & protocol enables you to build “Commands” as in the other protocols.
  • A SSH-Connection remains open until disconnected or disabled by the user and therefore, sending commands can occur fast.

FAQ:

tbc