当Mac安装好WindTerm后进行配置使用时遇到windterm no match for method encryption client

当Mac安装好WindTerm后进行配置使用时遇到如下:

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

image

 

环境

macOS Sequoia 15.7.1

windterm 2.7.0

解决方法

sudo vi /etc/ssh/crypto.conf

修改 Ciphers 这行

# 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

  

posted @ 2025-10-14 14:37  BruceLong  阅读(13)  评论(0)    收藏  举报