Suppress Warning on Ansible Automation Platform Controller when sftp is disabled in sshd_config on a host

Solution Verified - Updated -

Issue

  • How do you suppress the Warning on Ansible Automation Platform Controller when sftp is disabled in sshd_config on a host.

    WARNING: sftp transfer mechanism failed on [host.example.com]. Use ANSIBLE_DEUG=1 to see detailed information.
    
  • How to set ansible.cfg setting transfer_method = scp on automation controller.
  • Disable Ansible Automation Platform Controller from trying to use sftp to transfer jobs.

Environment

  • Ansible Automation Platform 2.x
  • Ansible Automation Platform Controller 4.x

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