How to setup Remote Execution for Satellite 6

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.x

Issue

  • How to setup Remote Execution for Satellite 6
  • Unable to run the remediation playbooks receiving error "Failed to create job. Ensure your systems are registered in Foreman"

Resolution

The remote hosts need to be configured to accept the private key that the smart proxy is using. Root is used as the default user for accessing remote hosts via SSH.

[root@sat ~]# ssh-copy-id -i /var/lib/foreman-proxy/ssh/id_rsa_foreman_proxy.pub root@host.example.com

NOTE: This step has to be repeated for all the client machines (host.example.com) that needs to be applied with patches from the Satellite WEBUI.

For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues

SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.