flutter_server_box
flutter_server_box copied to clipboard
bad state no matching client mac algorithm
Describe the bug
To Reproduce
Desired Results
Actual Results
Screenshots
Device
- OS: Android13
- App Version: v1.0.493
Additional context
https://github.com/TerminalStudio/dartssh2/issues/72
https://stackoverflow.com/questions/51501496/how-to-resolve-no-matching-mac-found-error-when-i-try-to-ssh
我如何自定义 ssh 命令 添加 -m 参数?
https://res.lolli.tech/serverbox/ServerBox-909.apk
尝试修复(添加了 hmac-sha2-512-etm 等的支持),麻烦测试
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
https://res.lolli.tech/serverbox/ServerBox-909.apk
Try fix (added support for hmac-sha2-512-etm, etc.), please test
十小时后会测试并反馈
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Will test and give feedback after ten hours
还是不行啊
❯ ssh -Q mac
hmac-sha1
hmac-sha1-96
hmac-sha2-256
hmac-sha2-512
hmac-md5
hmac-md5-96
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
那我自行搭建测试环境吧(主要是没有空闲的机器)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Then I will set up a test environment by myself (mainly because there is no free machine)
Still relevant
I get this error too on NixOS 25.05 from Android app. By default this is the configuration on NixOS:
cat /etc/ssh/sshd_config
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x255
[email protected],curve25519-sha256,[email protected],dif
fie-hellman-group-exchange-sha256
Macs [email protected],[email protected],umac-12
[email protected]
So, we have to find a way to add support for those modern hash functions in the app.