Remote plink ssh program ends prematurely

view story

http://stackoverflow.com – I have a program that can be run via remote plink ssh on a different PC using windows command prompt plink [username]@[ip address] -pw [password] ./program or: plink -ssh -l [username] -pw [password] [ip address] ./program but somehow the program will end prematurely. Program runs, but terminates before the program had run its course. It doesn't happen to all my programs though. To clearify, I can run my program with following command line plink [username]@[ip address] -pw [password] which log me in to remote system, from there I can run ./program to its entirety. but if I try plin (HowTos)