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,554,623
Community Members
 
Community Events
184
Community Groups

Sourcetree always asks my ssh passphrase

I work on some projects hosted on gitlab.com and I'm using ssh to connect to these repositories. In SourceTree, I checked the option to save my ssh passphrase, but at ever action I take, a popup asks for it again... That's very irritating!

How can I save the passphrase manually for that account

Note that the passphrase is saved for a project hosted on a custom gitlab installation though...

2 answers

2 votes
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 06, 2017

What OS platform and what version of Sourcetree are you using?

I'm on macOS High Sierra (Version: 10.13.2 Beta (17C60c)) an I'm using SourceTree 2.6.3 (134).

@bgannin

Do you have any idea what this is caused by and how to fix it? It really bothers me!

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 20, 2017

Can you please check if the ssh keys are loaded to the agent? You can do so by running below command on a terminal window.

ssh-add -l

It should list down the keys added to the agent. If you don't find anything listed, please add the key to the agent with the command below,

ssh-add <path_to_key>
Like # people like this

That was indeed empty, I now added my ssh key and guess what, it works. Thank you very much!

I have the same issue but in Windows 10. ssh-add from command-line doesn't seem to work right. (Error connecting to agent: No such file or directory) Regardless, what would address the root cause? What can be set or done from the sourcetree application to remedy this?

I have the same problem.  Tried setting up ssh-agent as a service using PowerShell, but does not make any difference.

Had the same problem. I had to convert the .ppk key-file to openssh file-format and then I fed that file into ssh-add. It worked and I think it achieves the desired result but I'm not quite sure. Will keep an eye on this thing over the next few days.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events