I am trying to clone a repository in Sourcetree and I keep receiving this error:
"Your SSH agent (Pageant) is running but the server still rejected your connection.
You may need to load the correct key by double-clicking on the Pageant
icon in your system tray and selecting 'Add Key'."
Is there a way to get the key / be able to clone without the SSH key?
You can try HTTPS authentication option in your Source Tree and copy and use the HTTPS address from GitHub when cloning.
Your internet connection (the network you are in) may not be allowing SSH connection which in my case, I used OAuth option.
Go to the Source Tree Tools > Options > Authentication > Add new account
-Hosting Service - Github
-Preferred protocol: HTTPS
-Authentication: OAuth
Username: <you know this>
Click on Refresh OAuth Token and that will direct you browser and in a few seconds you will have the authentication done, then you can clone your repo..
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.