Hello i\'ve made a big mistake with may key pairs on a ec2 Instance. I can\'t connect with sftp and putty because the private key is wrong.
How can i get access to my in
Steps:
/dev/sdf
is the default)./home/ec2-user/.ssh
and /etc/ssh
from the new volume to the old volumeNow you can use the new key pair you generated for the new instance, to connect to your old one.
This did work for me and just a few notes: