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.
Install-Package SSH.NET -Version 2016.0.0-beta2
dotnet add package SSH.NET --version 2016.0.0-beta2
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SSH.NET, 2016.0.0-beta2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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

NuGet packages (206)

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.


A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code. Documentation can be found at: Detailed examples can be found at:


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 2022-06-23 02:18

GitHub repositories (45)

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!
A simple ACME client for Windows (for use with Let's Encrypt et al.)
Xray,V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件,MTProto+TLS 一键安装工具,windows下用(一键科学上网)
Stride Game Engine (formerly Xenko)
Version Downloads Last updated
2020.0.2 168,563 5/29/2022
2020.0.1 8,903,960 1/24/2021
2020.0.0 1,100,286 12/31/2020
2020.0.0-beta1 1,967,384 6/7/2020
2016.1.0 31,393,018 10/16/2017
2016.1.0-beta4 3,657 10/7/2017
2016.1.0-beta3 38,335 9/20/2017
2016.1.0-beta2 60,019 8/16/2017
2016.1.0-beta1 112,120 12/14/2016
2016.0.0 4,211,689 8/2/2016
2016.0.0-beta3 3,902 7/27/2016
2016.0.0-beta2 12,124 6/25/2016
2016.0.0-beta1 3,167 6/19/2016
2014.4.6-beta2 384,406 11/22/2014
2014.4.6-beta1 12,931 4/6/2014
2013.4.7 1,576,936 4/6/2013
2013.1.27 88,281 1/27/2013
2013.1.8 5,707 1/8/2013
2012.21.12 2,868 12/21/2012
2012.20.12 1,794 12/20/2012
2012.12.3 3,434 12/4/2012
2012.3.9 9,985 3/9/2012
2011.12.7 2,361 3/3/2012
2011.9.28 2,982 10/13/2011
2011.7.29 4,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