When trying to either configure Auto profile, or Activate a policy group in Management Console for Unix it fails.
The following error is shown:
Failed to connect to host IP address : hostname Verify the username and password and confirm that you can manually connect to the host IP address via SSH
You will also see an entry like the following in the auth log file:
Nov 21 15:29:13 ubuntu1 sshd: error: userauth_pubkey: could not parse key: Invalid key length [preauth]
Run the following command against the authorized_keys file for the questusr user:
# ssh-keygen -lf ~questusr/.ssh/authorized_keys
It it returns the following result then you are experiencing the issue:
/var/opt/quest/home/questusr/.ssh/authorized_keys is not a public key file.
The minimum allowed ssh keylength was changed in OpenSSH_7.6p1.
Therefore Management Console for Unix is not creating a valid ssh key for the questusr user.
So far we have seen this issue on both Ubuntu 18.04 and Centos 8.
Product defect: 199713
Waiting for a fix in a future release of Management Console for Unix.