Search

Putty

Last Updated: Sep 13, 2021

Articles

The Putty node is used to automate the Putty application in both SSH and Telnet connection.

Putty application is packaged with JIFFY.ai and hence no installation is required.

Consider performing the following steps 50 times every day on Putty.

  1. Log in to Putty.
  2. Type commands to provide the file path.
  3. Run .sh file (This sh file has 43 options and you must enter 1 to 43 from the keyboard).
  4. Quit and close the Putty session.

You can automate process above using the Putty node. Image description

Configurations of Putty Node

  1. Click the Putty node to open the attributes pane.
  2. In Configurations tab, enter the following details:

    • Configuration Name: Name for the application being configured.
    • Application Path: Path of the Putty application in the local machine, for example, C:\jiffyservice\putty\AppDriver.exe.
    • Connection type: Select SSH or TELNET option from the drop-down.
    • Connection string: IP Address or Hostname of the server to be automated.
    • Cluster: Select Cluster from the drop-down if you wish to run the node on Cluster. Otherwise, leave it blank. Image description

Properties of Putty Node

  1.  Navigate to Properties tab and enter Name and Description.
  2. Select the options for Run Mode and Take screenshot fields from the drop-down.
  3. Enable Close Application, Close Application on Error, Mark run Failure on Node Fail, Continue on Failure, and Lock After Run options as required.

Image description

Design Actions in Putty Node

You can design actions using the predefined UI Events.

  1. Select Screen from the first drop-down and select Application Module from the second drop-down.
  2. Add a new UI Event and select value from the second drop-down. There are two options:
  • Application Module_Application: Select BringToFront or Keyboard action from the third drop-down as required.
  • Application Module_Terminal: Select GetText, Input, Input Password, and Keyboard options from the third drop-down as required.

To know more about how to design actions, click here.

Select Input action to enter username123, select Keyboard action, and press enter to return the value entered.

Image description

Variables

All Input/Local variables created for the node are displayed under the Variables tab.

Table Definitions

All Default and Custom DataTables created in the Task are displayed under the Table Definitions tab.

Result of Execution in Putty Node

After executing task, the Result of Execution window is displayed with Input, Output, Run Info, Step Data, and Formatted Output tabs.

  • Input: The input variables mapped to the Putty node are displayed.
  • Output: Execution status and the values of the output variables in the current node that can be mapped to the succeeding nodes are displayed.
  • Run Info: The Run Details, Configuration Details, and Machine Details are displayed.
    • Run Details include Run ID, Sequence Number, Iteration ID, and Total Node Execution Time (in seconds).
    • Configuration Details include Configuration Name, App, Application Path, Clusters, and Config Level.
    • Machine Details include ID, Name, Host, Port, Iteration Start Time, Iteration End Time, and Iteration Time (in seconds).
  • Step Data: The details and status of the each Line of Action inside the node are displayed.
  • Formatted Output: The table data of the output variable with Type selected as Table is displayed. Image description
Did you find what you were looking for?