winscp连接linux失败解决方法

报错

couldn't agree a key exchange algorithm

couldnt agree a host key algorithm available rsa-sha2-512 rsa-sha2-256

解决方法:

bash 复制代码
echo "KexAlgorithms +diffie-hellman-group14-sha1" >> /etc/ssh/sshd_config
echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/sshd_config
sudo systemctl restart sshd
相关推荐
Rsingstarzengjx2 小时前
第三十九章 Linux PWM 驱动实验
linux·运维·服务器
SeanQhl3 小时前
BoostKit 环境准备
linux·openeuler·鲲鹏·boostkit·软件源
FYKJ_20104 小时前
springboot贫困生认定管理系统59009-计算机毕业设计、课程设计
java·javascript·vue.js·spring boot·后端·django·课程设计
考虑考虑4 小时前
JDK27中的结构化并发
java·后端·java ee
笔记本note4 小时前
Linux 内存管理
linux·服务器·内存管理
郝学胜-神的一滴5 小时前
Effective STL 条款 14:用扩容函数避免重新分配
linux·开发语言·网络·数据结构·c++·单片机
吃我一窝jio6 小时前
Java IO流核心分类与应用
java·开发语言·笔记
GeW6 小时前
入行 Linux 与数据库运维:一条路径、三项习惯、一个考证观
linux·数据库
这个昵称不容易7 小时前
租房管理系统设计与实现:16 张表、185 个接口的 SpringBoot 前后台项目
java·springboot·毕设
南子北游8 小时前
Linux 进程状态全景(上)
linux·运维·服务器