TwSsh 1.2.8

dotnet add package TwSsh --version 1.2.8
                    
NuGet\Install-Package TwSsh -Version 1.2.8
                    
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="TwSsh" Version="1.2.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TwSsh" Version="1.2.8" />
                    
Directory.Packages.props
<PackageReference Include="TwSsh" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TwSsh --version 1.2.8
                    
#r "nuget: TwSsh, 1.2.8"
                    
#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.
#:package TwSsh@1.2.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TwSsh&version=1.2.8
                    
Install as a Cake Addin
#tool nuget:?package=TwSsh&version=1.2.8
                    
Install as a Cake Tool

TWSSH - High-Performance SSH Library for .NET

NuGet License

TWSSH is a modern, high-performance SSH library for .NET applications. It provides comprehensive SSH2 protocol support including command execution, SFTP, SCP, port forwarding, and interactive shells.

Features

  • SSH2 Protocol Support - Full implementation of SSH2 protocol
  • Multiple Authentication Methods - Password, public key, keyboard-interactive
  • SFTP Support - Secure file transfer protocol
  • SCP Support - Secure copy protocol
  • Port Forwarding - Local and remote port forwarding
  • Interactive Shell - Full PTY support for interactive sessions
  • Modern Cryptography - ChaCha20-Poly1305, AES-GCM, Ed25519, ECDSA
  • Cross-Platform - Works on Windows, Linux, and macOS
  • High Performance - Optimized for low latency and high throughput
  • Async/Await - Full async support with ValueTask

Supported Frameworks

  • .NET 8.0
  • .NET 6.0
  • .NET Standard 2.1

Installation

dotnet add package TwSsh

Quick Start

using TwSsh.Client;
using TwSsh.Licensing;

// Initialize license (required)
LicenseManager.Instance.Initialize("YOUR-LICENSE-KEY");

// Or use trial mode for 30-day evaluation
// LicenseManager.Instance.InitializeTrial();

// Connect and run a command
var settings = new SshClientSettings
{
    Host = "example.com",
    Port = 22,
    Credential = new PasswordCredential("username", "password")
};

await using var client = new SshClient(settings);
await client.ConnectAndAuthenticateAsync();

var result = await client.RunCommandAsync("uname -a");
Console.WriteLine(result.Output);

Licensing & Pricing

TWSSH is commercial software. A valid license is required for production use.

License Tiers

License Price Renewal Connections Features
Trial Free 30 days 2 All Team features
Developer $199/year $149/year 5 SSH, Shell, SFTP, SCP, Public Key Auth
Team $599/year $449/year 25 + Port Forwarding, KB-Interactive, Advanced Crypto
Enterprise $1,499/year $1,099/year Unlimited + Priority Support, Connection Pooling

Feature Comparison

Feature Developer Team Enterprise
Basic SSH & Commands
Interactive Shell
SFTP File Transfer
SCP File Transfer
Public Key Auth
Port Forwarding
Keyboard-Interactive
Advanced Crypto (ChaCha20)
Connection Pooling
Priority Support (4hr SLA)
Concurrent Connections 5 25 Unlimited

Obtaining a License

Contact us at sales@twssh.io to purchase a license.

License Activation

// Option 1: Initialize with license key
LicenseManager.Instance.Initialize("YOUR-LICENSE-KEY");

// Option 2: Use license file
LicenseManager.Instance.InitializeFromFile("path/to/license.lic");

// Option 3: Auto-discovery (place twssh.lic in app directory)
// The library automatically finds and loads it

// Option 4: Trial mode for evaluation
LicenseManager.Instance.InitializeTrial(30); // 30-day trial

Documentation

Full documentation is available at https://twssh.io/docs

Support

  • Email: support@twssh.io
  • Enterprise Support: Priority response (4hr SLA) for Enterprise licenses

Security

TWSSH implements modern security best practices:

  • No deprecated algorithms (no MD5, SHA1, DES, 3DES)
  • Support for latest key exchange algorithms
  • Secure memory handling for credentials
  • Regular security updates

Changelog

v1.2.6

  • Performance improvements for large file transfers
  • Enhanced connection stability under high load
  • Fixed edge case in keyboard-interactive authentication
  • Updated documentation and examples

v1.2.0

  • Added connection pooling for Enterprise licenses
  • Improved SFTP resume capabilities
  • Enhanced error messages and logging
  • Performance optimizations for multi-channel scenarios

v1.1.0

  • Added keyboard-interactive authentication support
  • ChaCha20-Poly1305 cipher implementation
  • Improved PTY resize handling
  • Bug fixes for remote port forwarding

v1.0.0

  • Initial release
  • SSH2 protocol support
  • Password and public key authentication
  • Command execution and shell support
  • SFTP and SCP file transfer
  • Port forwarding (local and remote)
  • Modern cryptographic algorithms
  • Commercial licensing system

Copyright 2025 TWSSH. All rights reserved.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.8 663 12/3/2025