Can I Use Password Authentication With Host That has Mismatched SSH host key When host_key_checking=False is set?

Solution Verified - Updated -

Issue

By using this method one can disable verification of remote host key in Ansible Engine. This allows to bypass warning when remote host SSH server key fingerprint has changed for some reason.

But is it possible to use Password authentication in this case?

Environment

Ansible/Ansible Tower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content