Under certain circumstances unneeded SSH connections can remain open on the vRanger server. These unnecessary connections use up CPU and memory resources and can impede the ability of the vRanger server to establish new connections via SSH to the ESX hosts.
First, open up a Command Prompt on the vRanger server. Run the following command:
P:\>netstat -ano | find /I ":22"
The output will look something like this:
TCP 10.6.6.149:1150 10.6.23.31:22 ESTABLISHED 5936
TCP 10.6.6.149:4971 10.6.23.31:22 ESTABLISHED 2020
The number at the far right is a PID or process ID. You can kill the process with the following command:
P:\>taskkill /pid 5936 /pid 2020 /F
You will see the following output:
SUCCESS: The process with PID 2020 has been terminated.
SUCCESS: The process with PID 5936 has been terminated.