Currently I am trying to run bat files call_putty.bat and call_plink.bat, but it isn't excuting the input commands in -m E:\CREATE_ONT.txt
When I remove -m E:\CREATE_ONT.txt, the SSH session is established successfully .
Here is the script inside 2 files *.bat.
putty.exe -ssh -2 -P 1022 admin@192.168.1.10 -pw admin -m E:\CREATE_ONT.txt
and
plink.exe -ssh -2 -P 1022 admin@192.168.1.10 -pw admin -m E:\CREATE_ONT.txt
In the CREAT_ONT.txt file is the code run when I manually copy and paste it into SSH session.
How do I resolve this issue?