【Linux】Ubuntu22.04中使用ssh、scp时报错:Their offer: ssh-rsa

1、问题描述

使用scp拷贝文件时报错:

Unable to negotiate with xxx port 22: no matching host key type found. Their offer: ssh-rsa
lost connection

2、原因分析

查看OpenSSH版本

ssh -V
OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022

查看官网的说明:
https://www.openssh.com/txt/release-8.7

Imminent deprecation notice
======

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-22 01:32:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-22 01:32:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-03-22 01:32:01       87 阅读
  4. Python语言-面向对象

    2024-03-22 01:32:01       96 阅读

热门阅读

  1. BitMap 和 HyperLogLog

    2024-03-22 01:32:01       42 阅读
  2. LeetCode刷题笔记之hot 100(一)

    2024-03-22 01:32:01       32 阅读
  3. MATLAB中的符号计算是什么?如何使用它?

    2024-03-22 01:32:01       42 阅读
  4. P1170 兔八哥与猎人 Python

    2024-03-22 01:32:01       31 阅读
  5. 蓝桥集训之山峰和山谷

    2024-03-22 01:32:01       43 阅读
  6. 客户端渲染与服务端渲染(1)

    2024-03-22 01:32:01       39 阅读
  7. # termux连接云服务器

    2024-03-22 01:32:01       36 阅读