https://github.com/darinkes/sshnet.puttykeyfile
SSH.NET Extension to read and use Authentication Keys in PuTTY-Format
https://github.com/darinkes/sshnet.puttykeyfile
csharp dotnet putty ssh sshnet
Last synced: about 1 year ago
JSON representation
SSH.NET Extension to read and use Authentication Keys in PuTTY-Format
- Host: GitHub
- URL: https://github.com/darinkes/sshnet.puttykeyfile
- Owner: darinkes
- License: mit
- Created: 2021-03-12T20:58:16.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T14:17:52.000Z (over 1 year ago)
- Last Synced: 2025-04-13T02:46:41.791Z (about 1 year ago)
- Topics: csharp, dotnet, putty, ssh, sshnet
- Language: C#
- Homepage:
- Size: 54.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SshNet.PuttyKeyFile
=============
[SSH.NET](https://github.com/sshnet/SSH.NET) Extension to read and use Authentication Keys in PuTTY-Format
[](https://github.com/darinkes/SshNet.PuttyKeyFile/blob/main/LICENSE)
[](https://www.nuget.org/packages/SshNet.PuttyKeyFile)




## .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
```cs
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);
```