title: Testing ssh connection
body: <p>an important part of my project is to log in into remote server with ssh and do something with files on it:</p>
  
  <pre><code>Net::SSH.start(@host, @username, :password =&gt; @password) do |ssh|  
    ssh.exec!(rename_files_on_remote_server) 
  end
  </code></pre>
  
  <p>How to test it?
  I think I can have local ssh server on and check file names on it (maybe it could be in my test/spec directory).
  Or maybe someone could point me better solution?</p>