How to permanently add ssh keys in windows system

For git starter and wanted to take advantage and utilize git, you might wondering how you can add your ssh keys permanently so you won’t have to execute the ssh-agent and ssh-add every time.

With this simple snippet you’ll no longer need to command ssh-agent and ssh-add!

Step 1: Create a config file inside your ssh directory

Step 2: Add this snippet in your config file

Host bitbucket.org
IdentityFile~/.ssh/bitbucket

Then save!
That’s it! Try pull one of your repository and you will see that it no longer ask for permission! :)

Tagged with