# \[newbie\] ssh-error

**URL:** <https://forum.ansible.com/t/newbie-ssh-error/17532>\
**Category:** Ansible Project\
**Created:** [February 17, 2015, 3:28am UTC](https://forum.ansible.com/t/newbie-ssh-error/17532 "2015-02-17T03:28:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mihir\_Joshi](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@Mihir\_Joshi](https://forum.ansible.com/u/Mihir_Joshi)\
**Post date:** [February 17, 2015, 3:28am UTC](https://forum.ansible.com/t/newbie-ssh-error/17532/1 "2015-02-17T03:28:51Z")

</div>

Hey,

When I try to run “ansible -vvv -m apt -a ‘xchm’ 192.168.56.101”, I am getting following error:

\<192.168.56.101\>  
\<192.168.56.101\>  
\<192.168.56.101\> ConnectTimeout=10 PasswordAuthentication=no KbdInteractiveAuthentication=no ControlPath=/home/mihirjoshi/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto ControlPersist=60s  
192.168.56.101 | FAILED =\> 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

Am I missing something?

Thanks

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [February 17, 2015, 1:35pm UTC](https://forum.ansible.com/t/newbie-ssh-error/17532/2 "2015-02-17T13:35:33Z")

</div>

The error recommends to use -vvvv (4 v’s), did you try the recommendation?

---

<div class="post-metadata">

**Author:** ![Mihir\_Joshi](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@Mihir\_Joshi](https://forum.ansible.com/u/Mihir_Joshi)\
**Post date:** [February 17, 2015, 3:37pm UTC](https://forum.ansible.com/t/newbie-ssh-error/17532/3 "2015-02-17T15:37:07Z")

</div>

I solved it. Problem was that I was not specifying the user.
