ssh命令报错no matching cipher found. Their offer: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc

这篇具有很好参考价值的文章主要介绍了ssh命令报错no matching cipher found. Their offer: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

ssh连接服务器报错

执行 ssh user@host 报错,信息如下:

Unable to negotiate with {host} port {port}: no matching cipher found. Their offer: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc

原因

协议不匹配

解决

可以使用如下命令

ssh -c aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc user@host

也可以修改 ~/.ssh/config文件

vi ~/.ssh/config
增加配置
Ciphers +aes128-cbc,aes192-cbc,aes256-cbc文章来源地址https://www.toymoban.com/news/detail-545994.html

到了这里,关于ssh命令报错no matching cipher found. Their offer: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Mac ssh登陆服务器: no matching host key type found. Their offer: ssh-rsa问题处理

    Mac 上iterm2 脚本连接堡垒机报错 nbsp;openssh觉得ssh-rsa加密方式不安全, 直接从8.8开始默认不允许这种密钥用于登陆了 方案1: 临时性方案(命令行增加参数 -oHostKeyAlgorithms=+ssh-rsa) 连接成功 方案2:持久化方案(配置文件持久化) 输入sudo nano ~/.ssh/config,然后在出现提示时,输入您

    2024年02月12日
    浏览(38)
  • 【已解决】Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa

    克隆代码库发生报错 Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa,ssh-dss # 首先保证在主目录下方,如果不是先运行: cd ~ 如果没有.ssh目录就新建一个运行:mkdir .ssh 然后往config文件中添加以下信息: 再次尝试即可成功  

    2024年02月11日
    浏览(36)
  • Unable to negotiate with XXXX port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

    问题描述 代码仓库已经添加了ssh公钥之后,克隆代码到本地时就报了这个问题 执行命令 git clone git@xxxxxxxxxxxxx.git 不能正常clone代码,报错信息如下: Unable to negotiate with xxxxxxx port 22: no matching host key type found. Their offer: ssh-rsa fatal: Could not read from remote repository. Please make sure you

    2024年02月04日
    浏览(31)
  • Unable to negotiate with 172.16.28.137 port 22: no matching host key type found. Their offer: ssh-rs

    ssh连接服务器报错“Unable to negotiate with 172.16.28.137 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss” 原因是 Terminal 找不到支持的密钥交换方法,因为新版 Openssh 中认为 SHA1 这种 hash 散列算法过于薄弱,已经不再支持,所以我们需要手动去允许对于 SHA1 的支持。 解决方案

    2024年02月09日
    浏览(32)
  • 最详细解决Unable to negotiate with XXX port :no matching host key type found.Their offer: ssh-rsa,ssh-dss

    1、切换为root用户 2、   3、如果没有.ssh文件夹   4、如果有.ssh文件夹   5、如果没有config文件   6、如果有config文件   然后再去试试git是否可以正常拉取和提交

    2024年02月05日
    浏览(30)
  • 记一次使用git报错,解决Unable to negotiate with **** port 22: no matching host key type found. Their offer:...

    windows电脑重装系统,去官网下载了最新的git安装,一路next下来,打开bash按老路子设置,生成公钥 把公钥添加到阿里云,clone代码时拉不下来,报错。 查看自己是开发者权限,重置一遍公钥再添加也不行,去网上找方法,介绍这种情况的原因就是新的ssh客户端不支持ssh-rsa算

    2024年02月11日
    浏览(99)
  • ssh 报错:no matching host key type found. 解决方法

    今天在工作中想通过ssh连接到远程linux服务器时报错:Unable to negotiate with 192.168.22.166 port 2222: no matching host key type found. Their offer: ssh-rsa 网上搜索到的解决方案,记录一下: ssh -oHostKeyAlgorithms=+ssh-rsa -p 2222 mogui@192.168.22.166 另外,记录一下端口映射命令: ssh -L 本地网卡地址:本地

    2024年02月22日
    浏览(36)
  • 【报错】Their offer: ssh-rsa,ssh-dss

    登录机器时报错:Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss 根本原因是:OpenSSH7.0以后的版本不再支持ssh-dss(DSA)算法,官方的说法是这个算法太弱了。MACOS升到10.12附带的openssh 版本是7.4,如下:➜~sshd-Vsshd:illegaloption–VOpenSSH_7 方案一 命令行添

    2024年04月12日
    浏览(15)
  • linux ssh报错Unable to negotiate with **** port 22: no matching host key type found

    ssh连接机器报错 今天使用mac通过ssh连接机器的时候报错如上,查阅网上资料后解决,方法如下 保存后,测试可以ssh登录了,特此记录下解决方法

    2024年02月11日
    浏览(39)
  • python报错:ERROR: No matching distribution found for

      使用pip安装包时提示报错如下: ERROR: Could not find a version that satisfies the requirement package (from versions: none) ERROR: No matching distribution found for package 大多数是网络问题,替换使用国内的镜像来源加速即可。 打开cmd 输入  按回车执行命令后,安装成功。 例如:  

    2024年02月15日
    浏览(38)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包