Remote Execution fails with message Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@client.example.com in Red Hat Satellite
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.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.