SAGARFIVE

Projects

2.7 Generate config file at Git Bash & Verify the Codecommit connection

Overview :

Step 1 -Open Git bash : Run the below commands to create config file in ssh directory

📋 Command to enter/move into ssh directorycd .ssh
📋 Create config filevi file

Step 2 – Enter config file data : Follow step 3 of connections instruction and enter your data(replace with your information)

📋 UserRefer 2.6 >  Step  3 – Copy SSH Key ID
📋 IdentityFile(Private key name)Refere 2.5  > Step 1 – Generating Token > Your Identification Saved in

Once this panel opens, Press I (to wire data), and Press ESC next Enter wq! To save the data

Step 3 – Read file and Modify the permissions of file :

📋 To Read the filecat config
📋 To Modify the permissions of filechmod 600 config

Step 4 – Verify the connection :

📋 Run the command to verifyssh -v git-codecommit.us-east-2.amazonaws.com

.

.

.

.

At bottom of the response , we can see

You have successfully authenticated over SSH. You can use Git to interact with AWS CodeCommit.

Share

Facebook
LinkedIn
WhatsApp
Pinterest
Telegram
Email

Share