title: Specifying private key on PuTTY command-line
body: <p>I know there are simple commands to login to remote machine through VBA i.e. by specifying <code>User@hostname</code> and <code>-pw</code> option to provide the password in <code>Wshell.Run</code> function where <code>Wshell</code> is <code>CreateObject("WScript.Shell")</code>.</p>
  
  <p>However I need to use private key file (specified under <em>Connection/SSH/Auth</em> option in PuTTY) while logging in through Excel-VBA macro. Is there a way to do it?</p>
  
  <p>I need it because I am using admin account on the second form of my VBA code (First form is using user's own account) and hence cannot provide the password textbox on the second form. Hence the only secure solution is to use SSH login through public and private key.</p>
  
  <p>Thanks in advance!</p>