Sometimes there is a need to change the .pem(login ssh key to the server) file received by the AWS, for security reasons.