Ask Your Question

# Revision history [back]

### Can we add/replace new keypair in a running VM?

 I have a running VM with keypair injected at the time of creation. But I cannot find the ssh-key.pem file that was generated then. I do not have user/pass to log in. We used to log in only using .pem file. Is there any way to recover the .pem file or create new one and inject into vm?