title: Unable to connect to destination server using jenkins. Able to do it from (putty) terminal
body: <p>I am trying to connect to remote server from jenkins. Have followed the procedure to create the public/private pass key and copied them to the remote server as well.
  changed the permissions to the .ssh/ authorized_keys.
  Can successfully access using terminal (putty), doesn't ask for password.</p>
  
  <pre><code>jenkins.plugins.publish_over.BapPublisherException: Failed to connect session for config [Jboss Dev]. Message [Auth fail]
  </code></pre>