SSH.NET 2016.0.0-beta2

.NET Framework 3.5
Advisory: Severity: moderate
This is a prerelease version of SSH.NET.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SSH.NET --version 2016.0.0-beta2
NuGet\Install-Package SSH.NET -Version 2016.0.0-beta2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SSH.NET" Version="2016.0.0-beta2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SSH.NET --version 2016.0.0-beta2
#r "nuget: SSH.NET, 2016.0.0-beta2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SSH.NET as a Cake Addin
#addin nuget:?package=SSH.NET&version=2016.0.0-beta2&prerelease

// Install SSH.NET as a Cake Tool
#tool nuget:?package=SSH.NET&version=2016.0.0-beta2&prerelease

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism and with broad framework support.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Silverlight sl4 is compatible.  sl5 is compatible. 
Universal Windows Platform uap10 is compatible. 
Windows Phone wp71 is compatible.  wp8 is compatible.  wp81 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (252)

Showing the top 5 NuGet packages that depend on SSH.NET:

Package Downloads

Extends Renci.SshNet to implement the task-based async pattern


HealthChecks.Network is the health check package for network services.

Testcontainers The ID prefix of this package has been reserved for one of the owners of this package by

Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.


MongoDbMigrations uses the official MongoDB C# Driver to migrate your documents in your mongo database via useful fluent API. Supports up and down migrations with cancelation and progress handling. Also, this library is able to check a schema of collections in your database during the migration run. This version supports on-premise Mongo database either Azure CosmosDB (with Mongo-like API) or even AWS DocumentDB. In addition you can use TLS and/or SHH tunnels in your migrations. PS1 script for integration with CI/CD pipelines provides inside of the repository


Created on 2023-05-05 19:43

GitHub repositories (61)

Showing the top 5 popular GitHub repositories that depend on SSH.NET:

Repository Stars
ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
Store securely encrypted backups in the cloud!
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
Stride Game Engine (formerly Xenko)
Version Downloads Last updated
2020.0.2 14,020,140 5/29/2022
2020.0.1 16,341,590 1/24/2021
2020.0.0 1,772,580 12/31/2020
2020.0.0-beta1 2,814,529 6/7/2020
2016.1.0 42,134,894 10/16/2017
2016.1.0-beta4 4,011 10/7/2017
2016.1.0-beta3 38,856 9/20/2017
2016.1.0-beta2 63,381 8/16/2017
2016.1.0-beta1 137,670 12/14/2016
2016.0.0 5,260,238 8/2/2016
2016.0.0-beta3 4,206 7/27/2016
2016.0.0-beta2 15,328 6/25/2016
2016.0.0-beta1 3,542 6/19/2016
2014.4.6-beta2 432,814 11/22/2014
2014.4.6-beta1 13,385 4/6/2014
2013.4.7 1,876,738 4/6/2013
2013.1.27 105,230 1/27/2013
2013.1.8 6,699 1/8/2013
2012.21.12 3,674 12/21/2012
2012.20.12 2,502 12/20/2012
2012.12.3 4,241 12/4/2012
2012.3.9 11,865 3/9/2012
2011.12.7 3,128 3/3/2012
2011.9.28 3,712 10/13/2011
2011.7.29 10,612 9/16/2011



   * Improved performance of ScpClient (GitHub issue #21)


   * Terminal width (pixels) is not passed in pty-req
   * Stopping ForwardedPortDynamic without ever having started would result in a NRE


New Features:

   * Added support for HMAC-SHA512 (hmac-sha2-512 and hmac-sha2-512-96)
   * Added support for Universal Windows Platform 10 (UAP10.0)


   * Overall performance improvements
   * Relicensed code under MIT license, explicitly permitting reuse within proprietary software
     provided all copies of the licensed software include a copy of the MIT License terms and the
     copyright notice
   * Separated our hash algorithms into SshNet.Security.Cryptography project and package
   * When available, prefer hash algorithms and encodings from target framework
   * Refactoring to prepare for upcoming .NET Core support


   * Partial reads from stream assume end (CodePlex issue #1516)
   * Session.Disconnect() hangs forever (CodePlex issue #2591)
   * SshData.ReadInt64() is broken (CodePlex issue #2579)
   * Race condition when SSH_MSG_GLOBAL_REQUEST is received immediately after successful authentication (GitHub issue #8)


New Features:

   * Improved accuracy of IsConnected on .NET
   * Added support for (SSH-2) private keys (issue #1987)
   * Support an acceptable group of up to 8192 bits for SHA-1 and SHA-256 Diffie-Hellman Group and Key Exchange (issues #1973 and #1777)


   * Reduced default buffer size for SftpClient from 64 KB to 32 KB as some SSH servers apply a hard limit of 64 KB at the transport level.


   * SftpClient is throwing undocumented exceptions (issue #2148)
   * Client channels are no longer closed on dispose (issue #1943)
   * SftpClient.Exists(string) returns true for a path that does not exist (issues #1952, #1696 and #1574)
   * ObjectDisposedException when channel is closing (issues #1942 and #1944)
   * Stack overflow during authentication when server returns same allowed methods after partial success (issue #2399)
   * SshCommand doesn't cleanup subscribed events (issue #2295)
   * Lines before protocol identification string are not skipped (issue #1935 and #2223)
   * ShellStream.ReadLine produces incorrect output when reading multi-byte characters (issue #2190)
   * SftpClient constructor throws ArgumentException when host contains underscore (issue #1845)
   * Signing key is missing from source download (issue #2455)
   * Forwarded Port channels can get stuck waiting (issue #1558)
   * NullReferenceException when SftpFileStream is finalized after dispose of session (issue #2013)
   * BlockCipher.Encrypt fails if input message is not padded (issue #2547)
   * ScpClient: Missing files when using DirectoryUpload (issue #1382)
   * Dynamic port forwarding slows down to a crawl (issue #2010)
   * SendKeepAlive causes SocketException when connection is dropped (issue #2029)
   * SocketException on Dispose or Disconnect (issue #2400)
   * Sending EOF on wrong channel number (issue #1877)
   * ForwardedPortDynamic: Unhandled exception if client terminates socket (issue #1844)


New Features:

   * Added callbacks to UploadFile, DownloadFile and ListDirectory in SftpClient (issue #1324)
   * Allow a given private key file to be used concurrently
   * Performance improvements:
       - optimization of payload size for both read and write operations (SftpClient only)
       - increase window size from 1MB to 2MB
       - increase buffer size from 16KB to 64KB for SftpClient
       - take into account the maximum remote packet size of the channel for write operations
       - increase maximum size of packets that we can receive from 32 KB to 64 KB
   * Improve exception message for authentication failures

Breaking changes:

   * Assembly name is now Renci.SshNet for all supported frameworks
   * The Renci.SshNet assemblies for .NET and Silverlight are now strong-named (issue #1802)


   * Incorrect copyright in assemblies (issue #1764)
   * Remove linefeed from WriteLine method in Shellstream class (issue #1584)
   * Disable logging of messages in release builds (issue #1767)
   * Stuck loop on key exchange using arcfour encryption (issue #1922)
   * Timeout sending data to server with low window size (issue #1706)
   * No connection possible with the same auth method requested multiple times (issue #1930)
   * Unobserved exception rethrown by finalizer thread (issue #1298 and #1587)
   * Client cipher is used to decrypt server messages (issue #1917)
   * Connection dropped by server due to invalid DSA signature (issue #1918)
   * Correct casing of Security/Cryptography/HMAC.cs to fix build on Linux (issue #1505)
   * HTTP proxy hangs (issue #1890)
   * Wrong parameters to SetSocketOption leads to SocketException under Mono (issue #1799)
   * Incorrect check for timeout values (issue #1620)
   * Wrong PKCS7 padding in DES algorithm (issue #1580)
   * OverflowException on empty server response (issue #1562)
   * Event handle leak (issue #1761)
   * SftpFileStream is very slow (issue #1919)
   * Write access required for private key file