Error while Interacting with Putty

HI Team,

i am not sure on interacting with Putty using UiPath… i am trying to login Username using set text activity into Terminal… but getting error

PuTTY’: Error HRESULT E_FAIL has been returned from a call to a COM component.

Putty is an SSH client for Windows to operate the Unix/Linux console. I use it regularly as a “human” to operate, monitor, and manage some Linux servers.
For automations, what I use is SSH Connector Activities that provide client SSH connectivity in the background, so you don’t have to use Putty:

image

This way I login and directly run commands by using this activities, as you can see in the example:

image

Output properties are available so you can evaluate error codes or specific messages after running commands

image

Hope it helps

1 Like

HI

i am getting error like this while executing the command through SSH,

also can you help me to understand how to make sure if the session has been initated from SSH Connect Scope based on the credentials we have provided in the properties panel?

Rum command “sudo bash” manually on your machine and time how long it takes to run. Then adjust timeout to a large number, maybe larger than what you are currently using.

And also it could be timing out because your “SSH run command” is not setup properly, verify it is connected successfully. Correct port etc.

1 Like

I recommend you to start testing with a simple command with expected output, like echo

image

result property should output hello word in this case

1 Like