Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,317
Community Members
 
Community Events
184
Community Groups

Sourcetree does not work with SSH (plink)

Stefan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 21, 2018

Hello,

if I try to connect to bitbucket with sourcetree (version 3.0.12) via ssh (plink) I only get the error message:


Server refused our key

 

I have set the putty/pageant option in Sourcetree.

 

Pageant is running and keys are loaded.
The key was added to my bitbucket account.It works with a different key on a different PC and it works on this PC with SSH (but the Sourcetree support for SSH is very poor, the key has to be added manual after every new start of sourcetree).Were is the problem, how can it be fixed?Regards!    Stefan

1 answer

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 03, 2019

Hello! Sounds like you have the wrong keypair loaded, or the wrong key loaded in Bitbucket/locally. Make sure you double check and see if they match.

Under "Tools > Options > General"  there's a 'SSH Client Configuration' area where you can set your SSH key to load on startup.

Stefan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 08, 2019

hecked it not only twice but much more often. That is not the problem...

(And the problem with the 'SSH Client Configuration' is, that it only loads the ssh keys in pageant, but not if you use the openSSH mode)

Just to dredge this up again, but also not working for me.  Any chance we can get a solution to this.  My system was working fine until I allowed my SourceTree to update, now it's not working.

Like ilikecheese8888 likes this

I also use Sourcetree and generated keys via the link and got same issue.

https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/#Set-up-SSH-with-Sourcetree-on-Windows

 

I just found the problem is the SSH mode.

If you follow this instruction and select OpenSSH in Tools>Options>General>SSH Client, it will work. 

https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/#Set-up-SSH-for-Git-on-Windows

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events