Skip to content

Missing Method Exception with SSH.NET version 2023.0.0 or newer. #94

@bakerhillpins

Description

@bakerhillpins

Neon.SSH will cause a missing method exception when used with applications that load SSH.NET versions 2023.0.0 or newer due to PR 794. The current NuGet package suggests that it will work with any version 2020.0.2 or newer.

I found this issue using Neon.SSH in a Visual Studio Extension in which it appears MAUI workloads load the latest version of SSH.NET 2024.2.0

This will occur when attempting to use Neon.SSH.SshCredentials.FromPrivateKey as the constructor on line 77 has changed.

In SSH.NET the constructor for Renci.SshNet.PrivateKeyAuthenticationMethod stopped taking a PrivateKeyFile array in favor of the new IPrivateKeySource interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions