Mac OS使用WindTerm提示kex error 解決方法
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]會話已斷開連接,按回車重新連接。
image.png
解決辦法
修改Mac SSH服務配置文件
解決辦法
修改 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
不需要重啟服務即可完整,重連服務器即可
修改完整后,成功連接
image.png

浙公網安備 33010602011771號