title: Ansible: Permission denied (publickey, password)
body: <p>I'm not able to connect to a host in Ansible. This is the error:</p>
  
  <blockquote>
    <p>192.168.1.12 | UNREACHABLE! => {
        "changed": false,
        "msg": "ERROR! SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which
    will enable SSH debugging output to help diagnose the issue",
        "unreachable": true }</p>
  </blockquote>
  
  <p>This is my <code>hosts</code> file:</p>
  
  <pre><code>[test]
  192.168.1.12
  </code></pre>
  
  <p>And this is the ad-hoc instruction:</p>
  
  <pre><code>ansible all -m ping
  </code></pre>
  
  <p>I'm able to connect via raw <code>ssh</code>.</p>