Skip to content

Bump SSH.NET from 2024.2.0 to 2026.0.0 - #32

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/src/bbs2gh/SSH.NET-2026.0.0
Open

Bump SSH.NET from 2024.2.0 to 2026.0.0#32
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/src/bbs2gh/SSH.NET-2026.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 12, 2026

Copy link
Copy Markdown

Updated SSH.NET from 2024.2.0 to 2026.0.0.

Release notes

Sourced from SSH.NET's releases.

2026.0.0

Highlights

  • Add overloads of DownloadFileAsync and UploadFileAsync taking an IProgress argument (#​1771)
  • Significantly reduced memory allocations in all scenarios. For SFTP:
Operation File size Version Allocated
SFTP Download 1MB 2025.1.0 3.2MB
SFTP Download 1MB 2026.0.0 0.1MB
SFTP Download 8MB 2025.1.0 24.8MB
SFTP Download 8MB 2026.0.0 0.7MB
SFTP Download 64MB 2025.1.0 197.8MB
SFTP Download 64MB 2026.0.0 4.8MB
SFTP Upload 1MB 2025.1.0 4.1MB
SFTP Upload 1MB 2026.0.0 0.0MB
SFTP Upload 8MB 2025.1.0 32.5MB
SFTP Upload 8MB 2026.0.0 0.3MB
SFTP Upload 64MB 2025.1.0 259.5MB
SFTP Upload 64MB 2026.0.0 1.9MB

Breaking changes

  • None known

What's Changed

2025.1.0

Highlights

  • Add DownloadFileAsync and UploadFileAsync to SftpClient (#​1634)
  • Much improved performance of SftpFileStream in consecutive read (e.g. SftpFileStream.CopyTo) scenarios (#​1705)

Breaking changes:

  • SftpFileStream previously had some incomplete synchronisation for multi-threaded access, but was not advertised nor fully functioning as thread safe. This synchronisation was removed in #​1705. When accessing an SftpFileStream instance from multiple threads simultaneously, ensure there exists appropriate synchronisation.
  • SftpClient.CreateText and WriteAll{Bytes/Text/Lines} were changed in #​1686 to truncate the file before writing if it exists, to align with the equivalent methods on System.IO.File. Given that the prior behaviour was 14 years old, the change treads the line between breaking change and bug fix.
  • IEnumerable<string> ReadLines on SftpClient was updated in #​1681 to download and yield lines during enumeration rather than reading them all up front and returning the result. This means that the connection must be active during enumeration. When storing the result of ReadLines for later use, consider using string[] ReadAllLines instead.

What's Changed

2025.0.0

Highlights

  • Add support for post-quantum key exchange methods sntrup761x25519-sha512 and mlkem768x25519-sha256
  • Add support for PuTTY private key files
  • Add logging capability via Microsoft.Extensions.Logging

Breaking changes

  • Support for DSA was dropped in #​1558
  • CipherPadding was deleted in #​1546 and uses replaced with Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding
  • See the full API diff at the end

What's Changed

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

---
updated-dependencies:
- dependency-name: SSH.NET
  dependency-version: 2026.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants