Question

I have a linux shell script file which collects various data from linux server. (Services, Process, FreeSpace etc.).

From windows to collect the data we are using Plink to connect to linux Boxes and run the shell script

plink root@servername -pw Password -noagent -m Batch-File.

and using pscp to copy the file to windows location.

Now when I try to do the same for Esxi the plink command fails with the error below.

FATAL ERROR: Server unexpectedly closed network connection

though If i give a direct command as below.

plink root@servername -pw Password -noagent  ls /etc

works out.

Let me know how to use the plink for esxi .. if possible.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top