Zorg.Ssh 0.1.0

dotnet add package Zorg.Ssh --version 0.1.0
                    
NuGet\Install-Package Zorg.Ssh -Version 0.1.0
                    
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="Zorg.Ssh" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zorg.Ssh" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Zorg.Ssh" />
                    
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 Zorg.Ssh --version 0.1.0
                    
#r "nuget: Zorg.Ssh, 0.1.0"
                    
#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 Zorg.Ssh@0.1.0
                    
#: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=Zorg.Ssh&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Zorg.Ssh&version=0.1.0
                    
Install as a Cake Tool

Zorg.Ssh

An async SSH client and server library for .NET 10, with SFTP, written in C# only.

Status: early, version 0.1. The public API can still change before 1.0. It has had internal reviews, fuzzing and interop tests against real OpenSSH and Dropbear, but no external security audit. The repository's docs/security.md lists what has and hasn't been checked.

Don't put the server on the public internet, or in front of users you don't trust.

await using SshClient client = await SshClient.ConnectAsync(new SshClientOptions
{
    Host = "example.com",
    UserName = "alice",
    Credentials = [SshCredential.FromPrivateKeyFile("~/.ssh/id_ed25519")],
    HostKeyPolicy = HostKeyPolicy.KnownHostsFile(),
}, cancellationToken);

SshCommandResult result = await client.ExecuteAsync("uname -a", cancellationToken);
Console.WriteLine(result.StandardOutput);

await using SftpClient sftp = await client.OpenSftpAsync(cancellationToken);
await using FileStream local = File.OpenRead("report.pdf");
await sftp.UploadFileAsync(local, "report.pdf", cancellationToken);

No SCP, compression or agent forwarding. See the repository for documentation, the security notes, the changelog and benchmarks. Report vulnerabilities privately, as its SECURITY.md describes.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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
0.1.0 0 11/9/2026
0.1.0-preview.3 43 11/8/2026