Remote execution jobs run from Satellite to Capsule servers fail with error "Authentication failed"

Solution In Progress - Updated -

Issue

When I attempt to run a remote execution job against a Capsule server from Satellite, the job fails with the following error:

Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user rex_user@capsule.example.com

The Satellite's SSH key has been copied from /usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy.pub to the Capsule server, as documented in chapter 4 of the Managing Hosts guide.

Environment

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