I created an Ubuntu Instance in AWS.
I created public key, and downloaded .pem file
and tried to ssh connect with vscode.
I wrote .ssh config file as follows.
Host AWS
HostName 13.125.226.***
IdentityFile the absolute local address that .pem file located (starts with /Users)
User ubuntu
But error occurs
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
What solutions will help?
(When I opened .pem file o I created on AWS, "An error has occurred. Unable to import items." message appears (on mac). Would this additional info help?)