Skip to content

SSH.NET does not work for AWS hosted SFTP servers using SFTP protocol #1199

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

Closed
kikaragyozov opened this issue Oct 9, 2023 · 3 comments
Closed
Milestone

Comments

@kikaragyozov
Copy link

kikaragyozov commented Oct 9, 2023

Similar issue related to this: #1002

It seems the host key they use by default is one that this library does not support. Who's at fault here? I'd really be surprised if AWS are using by default something that is antique or deprecated.

Relevant log entry:

{
  "activity-type": "KEX_FAILURE",
  "source-ip": "XXX.XXX.XXX.XXX",
  "resource-arn": "XXXXXXX",
  "message": "no matching host key type found",
  "kex": "ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss"
}

The private key being used is an ED25519 one.

@kikaragyozov kikaragyozov changed the title SSH.NET does not work for AWS hosted sftp servers SSH.NET does not work for AWS hosted SFTP servers using SFTP protocol Oct 9, 2023
@Rob-Hague
Copy link
Collaborator

Please try with the latest code on the develop branch and report back as to whether it works or not.

@WojciechNagorski WojciechNagorski added this to the 2023.0.0 milestone Oct 9, 2023
@WojciechNagorski
Copy link
Collaborator

Fixed by #1177 and #1180

@WojciechNagorski
Copy link
Collaborator

Version 2023.0.0 has been published https://www.nuget.org/packages/SSH.NET/2023.0.0

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

No branches or pull requests

3 participants