Skip to content

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

Closed

Description

@kikaragyozov

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.

Activity

  1. 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[/+] on Oct 9, 2023
  2. Rob-Hague commented on Oct 9, 2023

    @Rob-Hague
    Collaborator

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

  3. added this to the 2023.0.0 milestone on Oct 9, 2023
  4. WojciechNagorski commented on Oct 9, 2023

    @WojciechNagorski
    Collaborator

    Fixed by #1177 and #1180

  5. WojciechNagorski commented on Oct 10, 2023

    @WojciechNagorski
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions