title: How to pass user input automatically using plink.exe
body: <p>I need to login to an SSH session using password, and then execute the user input values for a particular account.</p>
  
  <p>For example:</p>
  
  <pre><code>PLINK.EXE -ssh ***** -l ***** -pw *****
  </code></pre>
  
  <p>I 
  am able to login, now what I need to do is enter below values:</p>
  
  <ul>
  <li>Please select account to logon: "U"</li>
  <li>Press RETURN to continue or OFF to cancel session - "RETURN"</li>
  </ul>
  
  <p>There are similarly this kind of user inputs needed. Is there a way I store the "*" values in a text file and load them using Plink.</p>
  
  <p>I tried:</p>
  
  <pre><code>PLINK.EXE -ssh ***** -l ***** -pw ***** -m C:\input.txt
  </code></pre>
  
  <p>This does not seems to be working.</p>
  
  <p>Expectation: Passing all the user input i.e. "U", "RETURN" .... using Plink or any other PuTTY tool.</p>
  
  <p>Appreciate your help!</p>