How to submit Plink “Access granted. Press Return to begin session” prompt automatically
问题 I'm writing a simple Windows batch script to allow me to execute some Linux command on my remote server with the help of plink.exe . call set argument1=plink -pw mypwsswd username@172.19.48.111 cd ~/project; make clean; make -j8 call plink %%argument1%% In a word, it will rebuild my C++ project on the remote server. When I double click the batch, it works except that I have to type an Enter each time. Access granted. Press Return to begin session As you see, after I getting this windows, I