Skip to content

SSH.NET Extension to read and use Authentication Keys in PuTTY-Format

License

Notifications You must be signed in to change notification settings

darinkes/SshNet.PuttyKeyFile

Repository files navigation

SshNet.PuttyKeyFile

SSH.NET Extension to read and use Authentication Keys in PuTTY-Format

License NuGet Nuget

.NET-Ubuntu .NET-Windows NuGet

Status

WIP

.NET Frameworks

  • .NET 4.8
  • netstandard 2.0

Keys

  • ssh-ed25519
  • ecdsa-sha2-nistp256
  • ecdsa-sha2-nistp384
  • ecdsa-sha2-nistp521
  • ssh-rsa with 2048, 3072, 4096 or 8192 KeyLength

Key Encryption

  • None
  • AES256-cbc

Usage Example

var key = new PuttyKeyFile("my-key.ppk");

using var client = new SshClient("ssh.foo.com", "root", key);
client.Connect();
Console.WriteLine(client.RunCommand("hostname").Result);

About

SSH.NET Extension to read and use Authentication Keys in PuTTY-Format

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages