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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Hi People , I have  a user with gitlab account i have created the key rsa with puttygen and I have added the public key in gitlab but qhen I try connect gitlab with sourcetree...ireceived the error(using openssh)


Can you help me please ?

2 answers

Hi sorry it not works......

1_ I have the gitlab account 

2_ Installed source tree and puttygen in my windows

3_ I have created a new public key with puttygen

4_ i have added to GitLab

5_in Source tree i go to tools , options ,and selected the key in "ssh Key" with the option Openssh

6_the key iy save in C:/users/kguana/.ssh/

7_To try Clone aany project of Gitlab i receive this error:


The OpenSSH agent is running but the server still rejected your connection.You may need to add the correct key to your agent by selecting Tools > Add SSH Key.

PLease note that manually logging in with a username and password is note supported via OpenSSH.Please switch to HTTPS URL or change the SSH cient option to PuTTY/PLINK inTools > options


*I need use the option Openssh*

I think @tonka is right - you need to convert the Putty key to an OpenSSH key.

  • Open PuTTYgen
  • Click Load
  • Locate + select your private key
  • Click Conversions > Export OpenSSH key
  • Save to C:\Users\yourusername\.ssh\id_rsa

This worked for me...


Do you store the private Key as id_rsa in die ~/.ssh directory?

Do you use other hoster like github on the same machine?


Greetings tonka

Hi i need create the directory  ~/.ssh ?

and i dont know the secod question sorry i dont know about this iusse sad


Yes, you should create ~/.ssh if it does not exist. Copy your private key with the name id_rsa into this directory.

I see that you use puttygen to create your ssh key pair, so i think you have to convert it to a openssh key before.

You could also use plink/pagent with your puttygen key instead of openssh (which as far as i know is the recommended way on windows for SourceTree). You can set your putty private key in the settings of sourcetree (i think it is on the first tab). Close pagent (look in your taskbar) and then restart source. If you have a correct setup you can double-click on pagent - there should be a line with your key in it - if it is empty, your config in sourcetree for your pagent key is not set/not correct.


forget my second question because if you have no ~/.ssh the question is no relavant.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events