I am trying to do SSH in my AWS instance. But I am getting this below error.
F:\Downloads>ssh -l ec2-user 22.214.171.124 -i key1234.pem
The authenticity of host '126.96.36.199 (188.8.131.52)' can't be established.
ECDSA key fingerprint is SHA256:nQdC5GCulBGn4/6L4U0ZwM6P8LVqN9/SuQxtONA8UtY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '184.108.40.206' (ECDSA) to the list of known hosts.
Load key "key1234.pem": Permission denied
email@example.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
How can I solve this error?