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 ?
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.
This worked for me...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi i need create the directory ~/.ssh ?
and i dont know the secod question sorry i dont know about this iusse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.