title: Using ssh via C code
body: <p>I tried to connect to ssh using following code in C</p>
  
  <pre><code>  system("ssh DestinationPC")
  </code></pre>
  
  <p>It works now it wants password from me. What is the easiest way to send it and how can I send some terminal commands using C?</p>
  
  <p>Any kind of good answers or suggestions will be appreciated!</p>