Skip to content

Instantly share code, notes, and snippets.

@danilogco
Created August 27, 2024 23:46
Show Gist options
  • Save danilogco/012baa66c06f5b3707fab723cbb869bc to your computer and use it in GitHub Desktop.
Save danilogco/012baa66c06f5b3707fab723cbb869bc to your computer and use it in GitHub Desktop.
add new pems to ec2 instance
chmod 400 /path_to_key/key.pem
ssh-keygen -y -f /path_to_key/key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment