I have Linux instance on EC2 and i lost the ".pem" file. So now i can NOT access to my instance through SSH anymore from my terminal.
Regenerating the private key should be impossible. If not, that is a security breach.