sshd-keygen utility has the wrong file path on freeipa_register snippet for RHEL8 : /usr/sbin/sshd-keygen: No such file or directory

Solution Verified - Updated -

Issue

  • sshd-keygen utility reported an error while provisioning RHEL8 machine by satellite 6.5 with realm enabled.
/tmp/ks-script-q_ct_py2: line 121: /usr/sbin/sshd-keygen: No such file or directory

stderr=Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat satellite 6.5

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