Ubuntu22拉取君正SDK报错

Ubuntu22拉取君正SDK报错

Ubuntu22拉取君正SDK报错

报错

shell 复制代码
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
相关推荐
切糕师学AI2 分钟前
Ubuntu 下 Git 完全使用指南
linux·git·ubuntu
浪客灿心20 分钟前
Linux网络传输层协议
linux·运维·网络
舟遥遥娓飘飘1 小时前
Nexus4CC 手机电脑同步claude code对话部署教程(基于linux系统)
linux·智能手机·电脑
何妨呀~1 小时前
Firewalld防火墙端口配置
linux
切糕师学AI1 小时前
Vim 深度解析:从经典 vi 到现代编辑器之巅
linux·vim·文本编辑器
计算机安禾2 小时前
【Linux从入门到精通】第49篇:服务器故障排查终极指南——思路决定出路
linux·运维·服务器
古月-一个C++方向的小白2 小时前
Linux——初识文件
linux·运维·服务器
北山有鸟2 小时前
编译香橙派内核
linux·运维·服务器
小此方2 小时前
Re:Linux系统篇(八)权限篇 ·三:深度解析从 umask 位运算到粘滞位的“权力锁”
linux·运维·服务器
晨曦夜月2 小时前
进程的五大状态及特殊进程解析
linux·服务器·算法