SSH encountered an unknown error during the connection - Ansible Error

0 votes

I'm running ad hoc ansible tasks instead of adding them in a playbook, but I get this error:

default | 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

What is the issue?

Feb 9 in Ansible by Nisha
97 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I think you have not configured your ssh yet. You can do it by executing the following command:

ansible all -i vagrant_ansible_inventory_default -u vagrant --private-key ~/.vagrant.d/insecure_private_key -m ping
answered Feb 9 by Monish

Related Questions In Ansible

0 votes
1 answer
0 votes
3 answers
0 votes
1 answer
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.