# Unreachable, msg: Authentication failure

**URL:** <https://forum.ansible.com/t/unreachable-msg-authentication-failure/24534>\
**Category:** Ansible Project\
**Created:** [May 22, 2017, 11:41am UTC](https://forum.ansible.com/t/unreachable-msg-authentication-failure/24534 "2017-05-22T11:41:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luvpreet\_Singh](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@Luvpreet\_Singh](https://forum.ansible.com/u/Luvpreet_Singh)\
**Post date:** [May 22, 2017, 11:41am UTC](https://forum.ansible.com/t/unreachable-msg-authentication-failure/24534/1 "2017-05-22T11:41:00Z")

</div>

This is my first time, and I am facing this issue.

I have used ansible\_ssh\_pass, and ansible\_ssh\_user also.

But this message is coming,

luvpreet@DHARI-Inspiron-3542:/etc/ansible$ sudo ansible -m ping all  
[vogo-alpha.cloudapp.net](http://vogo-alpha.cloudapp.net) | UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “Authentication failure.”,  
“unreachable”: true  
}

This is my file,  
[webservers]  
[vogo-alpha.cloudapp.net](http://vogo-alpha.cloudapp.net) ansible\_ssh\_pass=pass ansible\_ssh\_user=user

i can login via simple SSH.  
I need to know why is this problem coming in the way ? WHat is the reason and a little hint about the solution ?

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [May 26, 2017, 6:05pm UTC](https://forum.ansible.com/t/unreachable-msg-authentication-failure/24534/2 "2017-05-26T18:05:01Z")

</div>

You need to run ansible with -vvvv to get more information about the reason.
