I have ABC.exe file on remote server. I am trying to execute this file using shell script. Shell script is calling xyz.cmd file which is executing ABC.exe.
This is shell script I am using;
sshpass -f ‘retrivingremoteserverpassowrdhere’ ssh -o StrictHostKeyChecking=no $USER@$Host $FOLDER
$FOLDEr: path to remote server cmd file.
Above command is executing without any error. However, exe should generate log file, which is not generating. Am I missing something?
Above command is executing without any error. However, exe should generate log file, which is not generating. Am I missing something?
Amruta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.