Quantcast
Channel: single keypair for all regions - Stack Overflow
Viewing all articles
Browse latest Browse all 9

Answer by shantanuo for single keypair for all regions

$
0
0

Upload the pem file that I need to copy to other regions and then ...

# chmod 400 /home/ec2-user/mydec15a.pem

# ssh-keygen -y -f /home/ec2-user/mydec15a.pem >> ~/.ssh/MySSHKeyPair.pub

#  aws ec2 import-key-pair --key-name mydec15a --public-key-material file://~/.ssh/MySSHKeyPair.pub --region us-west-2

Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>