How to configure Satellite Server to use root's SSH keys to run the remote command on client.

Solution Verified - Updated -

Issue

  • Need to configure Satellite Server to use the root user's Public and Private SSH keys to run the remote command.
  • Getting the below error while running the remote command.
Error initializing command #
Net::SSH::AuthenticationFailed Authentication failed for user root@1.2.3.4
Exit status: EXCEPTION

Environment

  • Red Hat Satellite v 6.2
  • Red Hat Satellite v 6.3
  • Remote Execution

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.