![]() Add you public key (id_rsa.pub) to the text area and then Add Key again.From the Security menu, select SSH Key then Add Key.Select the icon on the top right of the browser and select Manage Account.Stage 3 – Added the SSH key to your BitBucket account You should never have to type in the passphrase again.If successful, the output should say that an identity has been created.Finally using this command to add the new key.It should give you a process id back, something like, Agent pid 1234 There are many ways to start the SSH agent but this is only way it would work for me. Still using the terminal (Git Bash) in SourceTree, type:. ![]() # Your public key has been saved in /Users/ you/.ssh/id_rsa.pub. Your identification has been saved in /Users/ you/.ssh/id_rsa. Then enter a passphrase, I would recommend you provide a passphrase from a security standpoint.It will ask you where you’d like to store the files, I accepted the default but you can specify a directory if you wish.ls –all ~/.ssh (this will list any existing ssh keys in C:\Users\\.ssh, this is the default but can be changed when generating the key).Open SourceTree and click on the Terminal icon (this is Git Bash).My setup for this task is Git (you can use the embedded git within SourceTree), SourceTree and BitBucket (previously used Google Drive to host my git repositories). So I’m going to details all the steps that I took in the hope that it could helps someone. A lot of unnecessarily complex documents does not help either. Everywhere and everyone tells you this is straight forward and it is when the critical path works but when something is wrong, it gets more difficult. Recently, we’ve started using SSH keys instead of HTTPS and I had to learn how to set up my repositories with SSH. ![]() My introduction to the GUIs around Git was SourceTree (although I’ve made an effort to learn the commands) but I have also used poshgit and Git Bash. For the past year or so, we’ve been using Git as our version control system. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |