I have a program running on a server. I need to send some specific input to that program. I tried to do that using PuTTY.
I am currently using:
putty.exe -ssh user@server -pw password -m command.txt
Where command.txt is the file containing the commands that I try to run on the server.
The problem is the terminal closes instantly after the connection is made.
Also, the commands I am trying to send are specific for that program, so they are not Linux commands. It's something like:
SomeName ENTER
SomePassword ENTER
SomeNumber ENTER
Is there any way to do that?