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
{{ message }}
Repository navigation
The connection was closed by the server: FlowSshTransport: no mutually supported host key algorithm. #1635
After upgrading SSH.NET to the latest version (2025.0.0), I am encountering the following error when attempting to connect. How can I resolve this issue?
I understand, but since we use it to connect to customer SFTP servers, we do not manage them. I cannot force the companies regarding this issue. I would like to benefit from the new version features, but this is an obstacle for me. Is it possible to make this configurable?
I understand the annoyance, I also had one server which only had a DSA host key and I have asked them to upgrade it. But I'm (personally) not interested in bringing it back:
we can't easily test it
it's really old, and the small amount of effort that goes into maintaining this library is better spent elsewhere
if you are not satisfied with staying on 2024.2.0 then you can clone the repo and revert 60f3cd8, it applies+builds cleanly on 2025.0.0
Activity
Rob-Hague commentedon Apr 29, 2025
Hi, the library has dropped support for DSA because it is very old and we can no longer easily test it (#1558)
The resolution is for the server to use a new host key with a modern algorithm (e.g. Ed25519), or to stay on 2024.2.0
ibrahimsen commentedon Apr 29, 2025
I understand, but since we use it to connect to customer SFTP servers, we do not manage them. I cannot force the companies regarding this issue. I would like to benefit from the new version features, but this is an obstacle for me. Is it possible to make this configurable?
Rob-Hague commentedon Apr 29, 2025
I understand the annoyance, I also had one server which only had a DSA host key and I have asked them to upgrade it. But I'm (personally) not interested in bringing it back:
if you are not satisfied with staying on 2024.2.0 then you can clone the repo and revert 60f3cd8, it applies+builds cleanly on 2025.0.0