# Any one here help me please ...... adhoc command

**URL:** <https://forum.ansible.com/t/any-one-here-help-me-please-adhoc-command/38115>\
**Category:** Ansible Project\
**Created:** [June 16, 2023, 8:22pm UTC](https://forum.ansible.com/t/any-one-here-help-me-please-adhoc-command/38115 "2023-06-16T20:22:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed\_Yaman](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Syed\_Yaman](https://forum.ansible.com/u/Syed_Yaman)\
**Post date:** [June 16, 2023, 8:22pm UTC](https://forum.ansible.com/t/any-one-here-help-me-please-adhoc-command/38115/1 "2023-06-16T20:22:32Z")

</div>

ansible demo -a “ls”  
172.31.33.24 | UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).”,  
“unreachable”: true  
}  
172.31.46.204 | UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).”,  
“unreachable”: true  
}

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [June 20, 2023, 4:49pm UTC](https://forum.ansible.com/t/any-one-here-help-me-please-adhoc-command/38115/2 "2023-06-20T16:49:04Z")

</div>

[https://docs.ansible.com/ansible/latest/inventory\_guide/connection\_details.html](https://docs.ansible.com/ansible/latest/inventory_guide/connection_details.html)
