Monday, April 18, 2016

Setup SSH key pair for Git

1. After installing Git, open your terminal and type the following command to create SSH key pair:
ssh-keygen -t rsa -C "youremail@something.com"
2. then press enter
3. then press enter again
4. then put your password
5. then put your password again
And your key has been generated.

Now go to where is your id_rsa.pub is created and open it in word pad or text pad and copy all.

Then go to bitbucket -> settings -> SSH keys
Then type a level and paste your key and press add.
You are done.

No comments:

Post a Comment

Suomen kieli (Imperfekti)

In Finnish, the imperfekti is the past tense that describes actions that happened in the past, like the English simple past (e.g., "I ...