Remote Execution fails with message Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@client.example.com in Red Hat Satellite

Solution Verified - Updated -

Issue

  • Running a remote execution job from the Satellite UI

    Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@client.example.com
    Exit status: EXCEPTION
    
  • The failed job added an entry to /var/log/secure file on the client system.

    client.example.com sshd[1183008]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedKeyTypes [preauth]
    client.example.com sshd[1183008]: Connection closed by authenticating user root ipaddress of satellite port 34832 [preauth]
    

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