You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the shClient.Connect(), and catch an error "Server HMAC algorithm not found";I used the newest version 2020.0.1, and the server only support the "[email protected],[email protected],[email protected]" MAC algorithms, How can I do? Is there a solution to add MAC algorithms or fix this error?
Well, it's been a while but maybe someone is still interested.
Seems, as if ssh.net has all you need, but it's not active.
Digging into ConnectionInfo I found the dictionary defining the hmac algorithms.
Since Security -> Cryptography -> Hashes already has a class for the sha256hash I just added one line to the dic ...
{"hmac-sha2-256", (key) => { return new HMac<SHA256Hash>(key.Take(32).ToArray());}},
Activity
NN--- commentedon Jul 7, 2021
#825
SylvainSorlin commentedon Nov 24, 2022
Still no solutions ?
sseilmann commentedon Jun 14, 2023
Well, it's been a while but maybe someone is still interested.
Seems, as if ssh.net has all you need, but it's not active.
Digging into ConnectionInfo I found the dictionary defining the hmac algorithms.
Since Security -> Cryptography -> Hashes already has a class for the sha256hash I just added one line to the dic ...
{"hmac-sha2-256", (key) => { return new HMac<SHA256Hash>(key.Take(32).ToArray());}},...to make it:
That's allI had to to in my case
WojciechNagorski commentedon Feb 22, 2024
This issue has been fixed in the 2024.0.0 version.