# please help

**URL:** <https://forum.ansible.com/t/please-help/30123>\
**Category:** Ansible Project\
**Created:** [April 16, 2019, 11:17am UTC](https://forum.ansible.com/t/please-help/30123 "2019-04-16T11:17:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ritesh\_r](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@ritesh\_r](https://forum.ansible.com/u/ritesh_r)\
**Post date:** [April 16, 2019, 11:17am UTC](https://forum.ansible.com/t/please-help/30123/1 "2019-04-16T11:17:29Z")

</div>

ansible all -m ping  
10.1.0.6 | UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “Failed to connect to the host via ssh: Permission denied (publickey,password).”,  
“unreachable”: true  
}

---

<div class="post-metadata">

**Author:** ![ryad9200000](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Post date:** [April 16, 2019, 11:33am UTC](https://forum.ansible.com/t/please-help/30123/2 "2019-04-16T11:33:28Z")

</div>

Hi ritesh,

Try to see if private clef ssh is well in autothorized\_keys in host 10.1.0.6

Try also to ping with terminal for verify if connection is ok.

Thank you,

Regards,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [April 18, 2019, 4:03pm UTC](https://forum.ansible.com/t/please-help/30123/3 "2019-04-18T16:03:35Z")

</div>

when having connection problems use -vvv to show 'exact commands  
used', you probably have an ssh setting that is not working as you  
expect.
