lwk@qwfys:~/Public/project/default$ git clone git@code.aliyun.com:xxx/yyyy01.git
Cloning into 'yyyy01'...
Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh-rsa
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
lwk@qwfys:~/Public/project/default$ ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa git@code.aliyun.com -p 22
The authenticity of host 'code.aliyun.com (47.98.49.44)' can't be established.
RSA key fingerprint is SHA256:ZrA2ZqYTVyPbw4zytCSAv74ZMaS2LDH74I7sMPtQIG0.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'code.aliyun.com' (RSA) to the list of known hosts.
Welcome to GIT, qwfys20!
Connection to code.aliyun.com closed.
lwk@qwfys:~/Public/project/default$ git clone git@code.aliyun.com:xxx/yyyy01.git
Cloning into 'yyyy01'...
Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh-rsa
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
lwk@qwfys:~/Public/project/default$ git clone git@code.aliyun.com:xxx/yyyy01.git
Cloning into 'yyyy01'...
remote: Enumerating objects: 9544, done.
remote: Counting objects: 100% (9544/9544), done.
remote: Total 9544 (delta 800), reused 9402 (delta 800)
Receiving objects: 100% (9544/9544), 4.15 MiB | 2.41 MiB/s, done.
Resolving deltas: 100% (800/800), done.
lwk@qwfys:~/Public/project/default$ cat ~/.ssh/config
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
lwk@qwfys:~/Public/project/default$
Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa
于 2022-08-09 18:04:09 首次发布