ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

ssh: macos上windterm报错

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

 

返回列表