VMware Cloud Community
ep4ps
Contributor
Contributor

SSH Execute Timeout

Hellow there,

I'm using "Run SSH command" Library workflow but some of my VMs are in a bad state and workflow is stuck on "Execute SSH Command" right after "Executing 'uptime' using encoding 'Default System Encoding'" for a very long time. Is there a way to set a timout on this execute? 

Any help is appreciated. Thanks.

Eugen

0 Kudos
6 Replies
qc4vmware
Virtuoso
Virtuoso

In the past I've had the best success using another workflow to wrap the ssh call and run it asynchronously with a timeout.  You might also want to checkout the guest script manager package which already has this functionality built in.  Its community supported and even if you don't use it you can see some examples.

0 Kudos
iiliev
VMware Employee
VMware Employee

We added a property to SSHSession scripting object to specify socket timeout when establishing session, but this happened after vRO 7.3 release, so this change will be available in the upcoming vRO 7.4.

If you can't wait until 7.4 is released, I can check if we can make a tech preview release of SSH plug-in here in the community forum.

0 Kudos
ep4ps
Contributor
Contributor

We really need this how can I get hold of the tech preview?
0 Kudos
iiliev
VMware Employee
VMware Employee

When the tech preview build of the SSH plug-in is uploaded, you'll be able to download it from the Documents tab in this forum. I'll post the exact link when I upload it, probably early next week.

0 Kudos
iiliev
VMware Employee
VMware Employee

Tech preview build of SSH plug-in is uploaded here - https://communities.vmware.com/docs/DOC-37335

0 Kudos
ep4ps
Contributor
Contributor

Thank you. Really appreciate I will test the new plugin and let you know if any issues.

0 Kudos