Authentication scan in not working

I did an authentication scan using a .pem file with ec2-user scan and it did not work. Is there any type of format that is needed to import as ssh key rather than a pem file


Try to use the native SSH Key-Format ASCII-armored and not PEM.
It should begin with “-----BEGIN RSA PRIVATE KEY-----”.