- On the EC2 instance, type
ssh-keygen
. - Got to: GitHub » Settings » SSH and GPG keys » New SSH Key
- Give it a title and copy the contents of
~/.ssh/id_rsa.pub
in the EC2 into the Key box. - To check the success, type
ssh [email protected]
on the EC2.
Created
May 6, 2025 23:24
-
-
Save nilforooshan/714a78c7c5a45b8257aa5eee38dc01aa to your computer and use it in GitHub Desktop.
aws: Access GitHub on EC2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment