Shell script file transfer

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

From the windows for data collection, we use Plink to connect to linux Boxes and run the shell script

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

and using pscp copy the file to the Windows folder.

Now when I try to do the same for Esxi, the plink command does not work with the error below.

FATAL ERROR: unexpectedly closed server network connection

but if I give a direct command as shown below.

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

works.

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

+3
source share
1 answer

, esxi . String Too Long, .

, , script pscp, .

0

All Articles