Remote Execution fails with error 'Error initializing command - RuntimeError Could not establish connection to remote host using any available authentication method, tried publickey'

Solution Verified - Updated -

Issue

  • Remote execution fails with the below error on the hosts that are registered to the capsule server.

    Error initializing command - RuntimeError Could not establish connection to remote host using any available authentication method, tried publickey:
    

Environment

  • Red Hat Capsule 6
  • Red Hat Satellite 6

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