Hello all,
I'm currently using the SSHCommand object in order to restart the management agent on ESXi 5.0.
The command is correctly executed but the SSH connection remain opened and the workflow never ends.
This is the command:
mySSHCommand.executeCommand("services.sh restart",true);
If I execute the command ( services.sh restart) manually in a SSH console, the shell script ends normally, as expected.
Is something wrong with this script in a remote shell?
Thank a lot for your help.
Bz
Or there is maybe another way to restart the management services remotely?