Problems connecting via SSH key

1. Validating that the steps to create a SSH key are correct, check the options below:

  • Absence of the encryption algorithm in pubkeyacceptedkeytypes present in the /etc/ssh/sshd_config file;

  • If the pubkeyacceptedkeytypes line is commented, uncomment it and add the keys;

  • Check if the pubkeyacceptedkeytypes line exists, if not, add it;