Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect to server failed due to client only use [[email protected]] as chiper on my Mac with the version Sequoia 15.3 #2691

Open
lvhuat opened this issue Feb 15, 2025 · 4 comments

Comments

@lvhuat
Copy link

lvhuat commented Feb 15, 2025

The error output:
kex error : no match for method encryption client->server: server [aes256-ctr,aes192-ctr,aes128-ctr], client [[email protected]] The session is disconnected, press Enter to reconnect.

Print the supported chipers

keto@MacBook-Pro ~ % ssh -Q cipher
3des-cbc
aes128-cbc
aes192-cbc
aes256-cbc
aes128-ctr
aes192-ctr
aes256-ctr
[email protected]
[email protected]
[email protected]

In session settings:
Image

But use ssh in terminal like
ssh -v myName@host
It successed

@dumitruplamadeala
Copy link

same issue:
WindTerm 2.6.1
Sequoia 15.3 (24D60)

@lvhuat
Copy link
Author

lvhuat commented Feb 17, 2025

Guys,I have made my windterm work ,edit you profile like below

xxx@MacBook-Pro ~ % 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 ^[email protected],[email protected]
Ciphers ^[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
KexAlgorithms ^ecdh-sha2-nistp256
MACs ^[email protected],hmac-sha2-256

@dumitruplamadeala

@dumitruplamadeala
Copy link

Thank you @lvhuat !
I made the changes as you suggested, and they worked on my side as well .

@JianJiaPHP
Copy link

JianJiaPHP commented Mar 9, 2025

伙计们,我已经让我的 windterm 工作了,编辑你的个人资料如下

xxx@MacBook-Pro ~ % 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 ^[email protected],[email protected]
Ciphers ^[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
KexAlgorithms ^ecdh-sha2-nistp256
MACs ^[email protected],hmac-sha2-256

@dumitruplamadeala

Solved, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants