Skip to content

Instantly share code, notes, and snippets.

View cjp's full-sized avatar

cjp

  • The People's Health Directorate 55
View GitHub Profile
@superseb
superseb / sshkeypair_ec2_regions_awscli.md
Last active July 25, 2019 15:42
Add SSH keypair to all EC2 regions using awscli

Add SSH key pair to all regions using awscli

Based on https://fedoramagazine.org/ssh-key-aws-regions/

docker run -ti python bash
apt update && apt -y install jq
pip install awscli
# Need to set access key, secret key AND region in aws configure
aws configure