How to do ssh login to push/pull code on bitbucket
Hey everyone 😀 Tonight (11:43 pm) I am writing this blog post for those who find difficulty in ssh login on bitbucket and also for those who loves learn new thinsgs.
- Open git bash terminal and enter the command ssh-keygen -t rsa -C "your email address"
- Enter passphrase (leave it blank) and enter
- Enter the same phrase again (leave it blank) and enter
- Copy the id_rsa.pub file content from where it is residing in your system
- For Windows:- C:\Users\username.ssh
- For Mac:- /Users/UserName(Account Name)
- Login to bitbucket account
- Click top right-most user icon -> bitbucket settings -> ssh keys under security menu
- Paste into key-field and save it.
- Restart your git bash terminal and now you are able to push your work, clone others work and pull your repos✌
Comments
Post a Comment
Please give us your valuable feedback