Now the private key needs to be set in the SSH Client Configuration section.Īfter that I was able to clone the repos using the SSH link. Now the public key needs to be added to GitHub. I generated a key, saved the private key to a file and copied the public key to the clipboard. Loaded my private key into SourceTree via Putty Key Generator and copied the Public Key over to GitHub Enterprise (including the first line 'ssh-rsa. for SSH it's :Project/repository.git I have tried both HTTPS and SSH. You can find it in the installation folder.Ĭ:\Users\da\AppData\Local\SourceTree\app-3.4.6\tools\putty Select GitHub Enterprise Host URL /Project/repository. In order to do that, you have to create a SSH key pair. The solutionĪfter I have been pissed off enough, I decided to use SSH. I also tried to set up the account as OAuth, this seemed to work but resulted in the same error message. It is often stated to use the token as password, however, this did not work. I tried a lot of stuff I found on the internet. If you want to use a hardware security key to authenticate to GitHub, you must generate a new SSH key for your hardware security key. Please use a personal access token instead. Looking in the details, the usage of a personal access token is the way to go now.Įrror: remote: Support for password authentication was removed on August 13, 2021. SourceTree would just tell me that the URL is not valid. Location: /Users/yyy/.ssh/idrsa where yyy is my user account name. There are other Git hosts besides GitHub, but we don't have the time or the space to talk about. The issue started when I wanted to clone a repo. ssh-keygen -t rsa -C xxx where xxx is my e-mail address as a comment. As long as it supports Git over SSH, Xcode can work with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |