Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Common Ansible ssh error
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
In my experience, this is almost because I forgot add the user. Add "-u username" to the ansible command-line call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment