Advertisement:
Canagon.com - Website for $499, beautiful premade designs, high-performance hosting on all continents, dedicated support team. Learn more >
Canagon.com - Website for $499, beautiful premade designs, high-performance hosting on all continents, dedicated support team. Learn more >
Importing existing Key Pair to use with another instance in different region / zone.
On your local computer, locate a .pem file you want to import.
In terminal, extract public key for use with SSH using following command:
$ ssh-keygen -y -f ec2.pem > ec2.pub
Where ec2.pem is a file path to your existing Key Pair and ec2.pub will be the Public Key file, that you import a Key Pair from.