vendredi 29 mai 2015

copy key pair to amazon

I have run into trouble

I have ec2 instance. I connected to it via ssh. I wanted to set up POST hook for git. And accidentally removed authorised_keys from /.ssh directory

My question is : if I am still connected to my aws instance can I copy myKey.pem to /.ssh directory ?

I want to omit instance restore process

Thank you in advance !))




Aucun commentaire:

Enregistrer un commentaire