Skip to content

Commit c83c13a

Browse files
committed
Update README.md
Initial commit.
1 parent 9a709bb commit c83c13a

1 file changed

Lines changed: 31 additions & 2 deletions

File tree

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
1-
# code-commit-setup
2-
Setting up the new AWS Code Commit.
1+
Setting Up AWS Code Commit
2+
---
3+
Note: This is for Mac/Linux users.
4+
5+
```
6+
cd $HOME/.ssh
7+
ssh-keygen
8+
[here just create the name codecommit_rsa and leave all fields blank *just click enter*]
9+
touch config
10+
chmod 600 config
11+
```
12+
13+
Now we need to enter our codecommit_rsa.pub into IAM.
14+
15+
```
16+
nano config
17+
18+
Host git-codecommit.*.amazonaws.com
19+
User [YOUR_SSH_KEY_ID_FROM_IAM]
20+
IdentityFile /Users/andrewpuch/Desktop/codecommit/
21+
```
22+
23+
Now lets test to verify it works.
24+
25+
```
26+
ssh git-codecommit.us-east-1.amazonaws.com
27+
```
28+
29+
You should see.
30+
---
31+
You have successfully authenticated over SSH. You can use Git to interact with AWS CodeCommit. Interactive shells are not supported.Connection to git-codecommit.us-east-1.amazonaws.com closed by remote host.

0 commit comments

Comments
 (0)