I changed the AWS key for SSH access to the EC2 instance, creating a new key from the console, and then added the public key value to the authorized_key file, which worked as expected.
However, the AWS console still displays the old key name as the key for this instance. Will this be a problem in the long run anyway? How to change the old key name to the newly created key name?
source
share