ssh: macos上windterm报错

一,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]

我的环境:

macOS Sequoia 15.3.1

windterm 2.7.0

 

二,解决:

在mac上:

% sudo vi /etc/ssh/crypto.conf

编辑内容:

给Ciphers一行增加了: ,aes256-ctr,aes192-ctr,aes128-ctr

如下:

# Ciphers ^aes128-gcm@openssh.com,aes256-gcm@openssh.com
Ciphers ^aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr

 

posted @ 2026-02-02 11:30  刘宏缔的架构森林  阅读(48)  评论(0)    收藏  举报