Hello,
How to set the connection timeout while creating a SSH Session to a Linux Server using SSHSession constructor in vRealize Orchestrator 8.x
The timeout connection is required to keep the script from hanging just like in the below command,
ssh user@server -o ConnectTimeout=10
session = new SSHSession(server, username, port);
session.soTimeout = 10000;
#timeout is in milliseconds
session = new SSHSession(server, username, port);
session.soTimeout = 10000;
#timeout is in milliseconds