Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmds committed Aug 29, 2024
1 parent 539cb81 commit b82a560
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ It has an async [API](#api) and leverages the modern .NET primitives, like `Span

The library supports OpenSSH file formats for private keys, known hosts and config.

The library targets modern .NET (Core). It does not support .NET Framework due to missing BCL APIs to implement the SSH key exchange.
The library is available for modern .NET (Core) versions.

A curated set of secure algorithms are supported. These should enable to connect to (OpenSSH) servers on distributions/operating systems that are still in support. See [Algorithms](#algorithms).
The supported set of secure algorithms should enable the library to connect to SSH servers on distributions/operating systems that are still in support. See [Algorithms](#algorithms).

The library supports logging through `Microsoft.Extensions.Logging`. See [Logging](#logging).

Expand All @@ -27,7 +27,7 @@ Update `Program.cs`:
using Microsoft.Extensions.Logging;
using Tmds.Ssh;

using ILoggerFactory? loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
using ILoggerFactory loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
using var sshClient = new SshClient("localhost", loggerFactory);
using var process = await sshClient.ExecuteAsync("echo 'hello world!'");
(bool isError, string? line) = await process.ReadLineAsync();
Expand Down Expand Up @@ -437,6 +437,7 @@ Supported private key encryption cyphers:
- aes[128|256]-gcm@openssh.com

Supported client key algorithms:
- ssh-ed25519
- ecdsa-sha2-nistp521
- ecdsa-sha2-nistp384
- ecdsa-sha2-nistp256
Expand Down

0 comments on commit b82a560

Please sign in to comment.