How to disable password prompts during git push/pull

Firstly, Generate an SSH key into your server/localhost

ssh-keygen -t rsa -b 4096 -C "Your Email Address"

You will Get your .ssh/id_rsa.pub. Copy the Key and Add a Aew SSH Key like the above image.

Now register the key with your Github Username

ssh -i ~/.ssh/id_rsa.pub -T your username@github.com

You are Good to go now.

Copy the SSH link and Run it into your server app directory terminal

git clone git@github.com:takielias/tall.git
That’s it. It’s done withour your github username/password.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.