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

KeyExchange certificate check failed #15354

Closed
acrux42 opened this issue Nov 11, 2023 · 4 comments
Closed

KeyExchange certificate check failed #15354

acrux42 opened this issue Nov 11, 2023 · 4 comments
Labels
cyberduck Cyberduck mountainduck Mountain Duck sftp SFTP Protocol Implementation

Comments

@acrux42
Copy link

acrux42 commented Nov 11, 2023

Suddenly, connection to a remote server via sftp using a private key stopped working with this exception:

KeyExchange certificate check failed: Hostname <server name> doesn't match any of the principals: <list of IPs of the server probably>

Form the log, it seems the error is from net.schmizz.sshj.transport.TransportImpl.

The same error appears when using cyberduck, but Filezilla works.

Desktop (please complete the following information):

  • OS: macOS Ventura
  • Version 4.15.1 (21679)
    I think between the last time it worked and now I updated Mountain Duck, but not sure.

Is there some setting to disable this check or would it pe possible do downgrade mountain duck to a version where it works properly?

@dkocher dkocher added the sftp SFTP Protocol Implementation label Nov 11, 2023
@tatze96 tatze96 added mountainduck Mountain Duck cyberduck Cyberduck labels Nov 16, 2023
@tatze96
Copy link

tatze96 commented Nov 16, 2023

To investigate the error further, we need the following information:

  • A screenshot of the error message.
  • The log file of Cyberduck.

For the log file enable debug logging, recreate the issue, and send us the log file afterward. If you don't like to see sensitive data to be shared publicly, please send the log file with the ticket reference GH-15354 to support@cyberduck.io, otherwise attach it here.

Sidenote: If you want to share the log file and screenshot here, make sure to attach them through the GitHub web interface, as they wouldn't be visible to us otherwise.

Regarding reverting to a previous version:
You can revert to a previous version of Cyberduck or Mountain Duck by removing the current application file from the Applications folder and copying the application file of the previous version into it afterward. Ensure that Mountain Duck or, respectively, Cyberduck isn't running while doing so.

Previous versions of Cyberduck and Mountain Duck can be downloaded from their respective changelog pages.

@helenwsung
Copy link

I've run into this same issue, is there any solution?

@Reginard
Copy link

Same issue here

macOS Sonoma 14.6.1 (23G93)
Version 9.0.1 (41941)

@dkocher dkocher changed the title sftp connection failure due to KeyExchange certificate check KeyExchange certificate check failed Aug 27, 2024
@dkocher
Copy link
Contributor

dkocher commented Aug 27, 2024

Discussion in #16260.

@dkocher dkocher closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cyberduck Cyberduck mountainduck Mountain Duck sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

5 participants