[newbie] ssh-error

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

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

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