Uipath and putty

Hello everyone
i hope you are doing well
Is it possible to launch putty with UiPath?
If it is, how can i execute commands on it ?

Hi @Dhouha_Cherif

Yes,We can
Check the follow threads

Hope it helps!!

Hi @Dhouha_Cherif
Try following the below steps:

  1. Open your UiPath project and create a new sequence.
  2. Drag and drop the “Start Process” activity from the Activities panel onto your workflow.
  3. In the properties of the “Start Process” activity, set the following properties:
  • FileName: Enter the path to the PuTTY executable (putty.exe). If PuTTY is installed in the default location, you may not need to specify the full path, and just “putty.exe” should work.
  • Arguments: If you need to specify additional arguments to PuTTY, such as the hostname or username, you can provide them here. For example, to connect to a server with username “myuser” and hostname “myserver.com”, you can use the following argument:

cssCopy code

-ssh myuser@myserver.com
  • WorkingDirectory: If needed, you can specify the working directory where PuTTY should be executed from. If not required, you can leave this property blank.
  1. Save and run your workflow.

The “Start Process” activity will execute PuTTY with the specified arguments, and the PuTTY terminal window should open, allowing you to interact with it as needed.

Please ensure that PuTTY is installed on your machine and that the UiPath robot has the necessary permissions to execute the PuTTY executable. Additionally, you can add error handling and exception handling to your workflow to handle any potential issues during the PuTTY launch process.

Hope it helps!!
Regards,

Hi @Dhouha_Cherif

Yes, it is possible to launch PuTTY using UiPath and execute commands on it. UiPath is an RPA (Robotic Process Automation) tool that allows you to automate tasks by interacting with various applications and systems, including command-line interfaces like PuTTY.

To achieve this, you can follow these general steps:

  1. Install PuTTY: First, ensure that PuTTY is installed on the machine where UiPath is running. You can download PuTTY from its official website and follow the installation instructions.

  2. Install UiPath: If you haven’t installed UiPath already, download and install it on your system.

  3. Launch PuTTY with UiPath: Use the “Start Process” activity in UiPath to launch PuTTY. Specify the path to the PuTTY executable in the “FileName” property of the “Start Process” activity.

  4. Automate PuTTY: After PuTTY is launched, you can use various UiPath activities like “Type Into” to send commands to the PuTTY terminal. The “Type Into” activity simulates keyboard input and can be used to enter commands in the PuTTY terminal.

  5. Extract Output (if needed): You can also use UiPath to extract and process the output received from PuTTY if required. For this, you may use activities like “Get Text” or “Get Full Text” to retrieve the terminal output.

Remember to set appropriate delays between the activities for smooth flow.

Hope it helps!!