问题解决Xshell :No matching outgoing encryption algorithm found

在链接的属性(SSH -> 安全性) 的加密算法列表中选择 aes256-ctr,

mac加密列表中选择hmac-sha2-256,保存即可

但是如果没有的话,就说明版本低了。

就像我一样

不能改变自己的xshell,我就改改目标的配置

linux系统的加密算法一般都放在/etc/ssh/sshd_config中,

在配置文件中加入下面三行的配置信息,重启sshd服务,解决问题。

解决步骤:

1. sudo vi /etc/ssh/sshd_config

#在/etc/ssh/sshd_config中增加上述的三行配置信息

Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc

MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,hmac-sha1-96,hmac-md5-96

KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]

2.重启sshd服务

参考于:xshell4连接ubuntu,报错No matching outgoing encryption  不好用找他去,反正我还是不好用。

不用更新Xshell的“歪招式”

新建 XXX.bat ,写下两行代码,用本机的cmd的ssh连,不用xshell了。

@echo off

ssh [email protected]

发布了51 篇原创文章 · 获赞 35 · 访问量 6652

猜你喜欢

转载自blog.csdn.net/wang_lianjie/article/details/103115094
今日推荐