Skip to content

Instantly share code, notes, and snippets.

@mince27
Created January 11, 2017 16:34
Show Gist options
  • Save mince27/72a212b57a519c664b4e4eeead9cb03c to your computer and use it in GitHub Desktop.
Save mince27/72a212b57a519c664b4e4eeead9cb03c to your computer and use it in GitHub Desktop.
AWS Lightsail Create Key Pair
aws lightsail create-key-pair \
--key-pair-name 'lightsail_demo' \
--query 'privateKeyBase64' \
--output text > 'demo.key'
chmod 700 "demo.key"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment