plink - Passing shell script file -


i have linux shell script file collects various data linux server. (services, process, freespace etc.).

from windows collect data using plink connect linux boxes , run shell script

plink root@servername -pw password -noagent -m batch-file. 

and using pscp copy file windows location.

now when try same esxi plink command fails error below.

fatal error: server unexpectedly closed network connection

though if give direct command below.

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

works out.

let me know how use plink esxi .. if possible.

after seeing messages log looks issue esxi's limitation read long character string. message log fails in session string long , post message of closing connection.

thus approach copy shell script pscp connection, run file executable permission , collect data gathered , delete file system.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -