Ubuntu22拉取君正SDK报错
Ubuntu22拉取君正SDK报错
报错
Get ssh://sz halley2@119.136.25.25:29418/mirror/linux/manifestUnable to negotiate with 119.136.25.25 port 29418: no matching host key type found.Unable to negotiate with 119.136.25.25 port 29418: no matching host key type found.fatal: could not read from remote repository.
Please make sure you have the correct access rightsand the repository exists.
Their offer: ssh-rsa
Their offer: ssh-rsa
解决办法
.ssh/config文件添加如下内容
cat .ssh/config
Host 119.136.25.25
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1