Sourcetree Use Ssh

Posted on  by admin

This is how the.pub and the.ppk files should appear in your.ssh folder, along side with some other files: SourceTree might prompt you to load the private key. Simply load the.ppk file. When I have signed in using Oauth under accounts. It doesn't seem to use the SSH key generated to push. Steps to replicate. Sign into Bitbucket using oauth; 2. Click copy to clipboard and try paste it into bitbucket- settings - SSH keys -and it will validate in Bitbucket that its already been added.

SourcetreeSourcetree
  • Generate SSH, Private Keys and configure in Source Tree on Windows. Generate and Load SSH Keys into SourceTree with PuTTYGen. Set up an SSH key.
  • Replace ided25519.pub with your filename. For example, use idrsa.pub for RSA. Sign in to GitLab. In the top right corner, select your avatar. Select Preferences.; From the left sidebar, select SSH Keys.; In the Key box, paste the contents of your public key. If you manually copied the key, make sure you copy the entire key, which starts with ssh-ed25519 or ssh-rsa, and may end with a comment.
  • Status:Needs Triage(View Workflow)
  • Resolution: Unresolved
  • Fix Version/s: None
  • Labels:

When I have signed in using Oauth under accounts.

It doesn't seem to use the SSH key generated to push.

Ssh

Steps to replicate

  1. Sign into Bitbucket using oauth

2. Click copy to clipboard and try paste it into bitbucket-> settings -> SSH keys -and it will validate in Bitbucket that its already been added

3. You will still get permission denied when you attempt to push to a private repos which you have access for. Even if you try use the Bitbucket setting for downloading from sourcetree - it will still say that the repos url is invalid - as you don't have access

Sourcetree Use Ssh

The reason.. is that Source tree is using the wrong key to connect..

If I try use command line - it works correctly

Attachments

Sourcetree Use Ssh To Connect

  1. image-2017-09-04-22-41-27-006.png
    587 kB
  2. image-2017-09-04-22-42-19-644.png
    177 kB
  3. image-2017-09-04-22-43-14-674.png
    55 kB
  4. image-2017-09-04-22-52-55-710.png
    138 kB
Ssh

Sourcetree With Ssh Key

Votes:
1Vote for this issue
Watchers:
3Start watching this issue