WindTerm kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com

释放双眼,带上耳机,听听看~!
🤖 由 ChatGPT 生成的文章摘要

Mac OS使用WindTerm提示kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr], client [aes256-gcm@openssh.com]会话已断开连接,按回车重新连接。

WindTerm kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com

操作系统版本如下
WindTerm kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com

软件版本如下

WindTerm kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com

解决办法

修改Mac SSH服务配置文件

#完整配置文件如下

cat /etc/ssh/crypto.conf
# Default algorithms favoring higher-performance FIPS algorithms
# in most cases.
#
# To configure these SSH algorithms, run the following command:
#
# sudo ln -fs crypto/apple.conf /etc/ssh/crypto.conf
#
#Ciphers ^aes128-gcm@openssh.com,aes256-gcm@openssh.com
Ciphers ^aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
KexAlgorithms ^ecdh-sha2-nistp256
MACs ^hmac-sha2-256-etm@openssh.com,hmac-sha2-256

需要使用➜ ~ sudo vim /etc/ssh/crypto.conf

  • 不需要重启服务即可完整,重连服务器即可

修改完整后

WindTerm kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com

错误描述地址:https://github.com/kingToolbox/WindTerm/issues/674

给TA打赏
共{{data.count}}人
人已打赏
NGINX报错锦集

普通用户启动Nginx

2024-7-22 15:41:14

Kubernetes

Kubenetes 1.13.5 集群二进制安装

2019-6-13 23:37:27

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索