Unable to clone git repository: gitosis-admin

Mangesh Chougule February 25, 2021

root@balts02:~# export GIT_SSH_COMMAND='ssh -o KexAlgorithms=+diffie-hellman-group1-sha1'
root@balts02:~# su - git
% cd git-fc
% ls
% git clone git@git.efi.com:gitosis-admin.git
Cloning into 'gitosis-admin'...
Unable to negotiate with 10.3.22.111 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

ssh key permission level.

/home/git/.ssh
% ls -ltr
total 268
-rw------- 1 git eng 1679 Oct 3 2015 id_rsa_old
-rw-r--r-- 1 git eng 394 Oct 3 2015 id_rsa.pub_old
-rw-r--r-- 1 git eng 244056 Feb 10 12:57 authorized_keys
-rw------- 1 git eng 1675 Feb 23 11:21 id_rsa
-rw-r--r-- 1 git eng 393 Feb 23 11:22 id_rsa.pub
-rw-r--r-- 1 git eng 4243 Feb 23 17:48 known_hosts
%

 

Could you please help here

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events