|
|
@@ -14,15 +14,8 @@ to achieve the best performance possible.
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
-There is MSDN-style class documentation in a .chm file for each release, which you can find in the Assets section
|
|
|
-of the [latest release](https://github.com/sshnet/SSH.NET/releases/latest) page. Please note that you will need
|
|
|
-to [right-click and "unblock"](https://support.microsoft.com/en-us/help/2021383/some-chm-files-may-not-render-properly-on-windows-vista-and-windows-7)
|
|
|
-the CHM file after you download it.
|
|
|
-
|
|
|
-Currently (4/18/2020), the documentation is very sparse. Fortunately, there are a large number of tests in
|
|
|
-[Renci.SshNet.Tests](https://github.com/sshnet/SSH.NET/tree/develop/test/Renci.SshNet.Tests) that demonstrate
|
|
|
-usage with working code.
|
|
|
-
|
|
|
+Documentation is hosted at https://sshnet.github.io/SSH.NET/. Currently (4/18/2020), the documentation is very sparse.
|
|
|
+Fortunately, there are a large number of [tests](https://github.com/sshnet/SSH.NET/tree/develop/test/) that demonstrate usage with working code.
|
|
|
If the test for the functionality you would like to see documented is not complete, then you are cordially
|
|
|
invited to read the source, Luke, and highly encouraged to generate a pull request for the implementation of
|
|
|
the missing test once you figure things out. 🤓
|
|
|
@@ -45,13 +38,15 @@ the missing test once you figure things out. 🤓
|
|
|
## Encryption Method
|
|
|
|
|
|
**SSH.NET** supports the following encryption methods:
|
|
|
+* aes128-ctr
|
|
|
+* aes192-ctr
|
|
|
* aes256-ctr
|
|
|
-* 3des-cbc
|
|
|
+* aes128-gcm<span></span>@openssh.com (.NET 6 and higher)
|
|
|
+* aes256-gcm<span></span>@openssh.com (.NET 6 and higher)
|
|
|
* aes128-cbc
|
|
|
* aes192-cbc
|
|
|
* aes256-cbc
|
|
|
-* aes128-gcm<span></span>@openssh.com (.NET 6 and higher)
|
|
|
-* aes256-gcm<span></span>@openssh.com (.NET 6 and higher)
|
|
|
+* 3des-cbc
|
|
|
* blowfish-cbc
|
|
|
* twofish-cbc
|
|
|
* twofish192-cbc
|
|
|
@@ -61,8 +56,6 @@ the missing test once you figure things out. 🤓
|
|
|
* arcfour128
|
|
|
* arcfour256
|
|
|
* cast128-cbc
|
|
|
-* aes128-ctr
|
|
|
-* aes192-ctr
|
|
|
|
|
|
## Key Exchange Method
|
|
|
|
|
|
@@ -82,10 +75,10 @@ the missing test once you figure things out. 🤓
|
|
|
## Public Key Authentication
|
|
|
|
|
|
**SSH.NET** supports the following private key formats:
|
|
|
-* RSA in OpenSSL PEM and ssh.com format
|
|
|
-* DSA in OpenSSL PEM and ssh.com format
|
|
|
-* ECDSA 256/384/521 in OpenSSL PEM format
|
|
|
-* ECDSA 256/384/521, ED25519 and RSA in OpenSSH key format
|
|
|
+* RSA in OpenSSL PEM ("BEGIN RSA PRIVATE KEY") and ssh.com ("BEGIN SSH2 ENCRYPTED PRIVATE KEY") format
|
|
|
+* DSA in OpenSSL PEM ("BEGIN DSA PRIVATE KEY") and ssh.com ("BEGIN SSH2 ENCRYPTED PRIVATE KEY") format
|
|
|
+* ECDSA 256/384/521 in OpenSSL PEM format ("BEGIN EC PRIVATE KEY")
|
|
|
+* ECDSA 256/384/521, ED25519 and RSA in OpenSSH key format ("BEGIN OPENSSH PRIVATE KEY")
|
|
|
|
|
|
Private keys can be encrypted using one of the following cipher methods:
|
|
|
* DES-EDE3-CBC
|
|
|
@@ -110,21 +103,20 @@ Private keys can be encrypted using one of the following cipher methods:
|
|
|
## Message Authentication Code
|
|
|
|
|
|
**SSH.NET** supports the following MAC algorithms:
|
|
|
-* hmac-md5
|
|
|
-* hmac-md5-96
|
|
|
-* hmac-sha1
|
|
|
-* hmac-sha1-96
|
|
|
* hmac-sha2-256
|
|
|
-* hmac-sha2-256-96
|
|
|
* hmac-sha2-512
|
|
|
* hmac-sha2-512-96
|
|
|
-* hmac-md5-etm<span></span>@openssh.com
|
|
|
-* hmac-md5-96-etm<span></span>@openssh.com
|
|
|
-* hmac-sha1-etm<span></span>@openssh.com
|
|
|
-* hmac-sha1-96-etm<span></span>@openssh.com
|
|
|
+* hmac-sha2-256-96
|
|
|
+* hmac-sha1
|
|
|
+* hmac-sha1-96
|
|
|
+* hmac-md5
|
|
|
+* hmac-md5-96
|
|
|
* hmac-sha2-256-etm<span></span>@openssh.com
|
|
|
* hmac-sha2-512-etm<span></span>@openssh.com
|
|
|
-
|
|
|
+* hmac-sha1-etm<span></span>@openssh.com
|
|
|
+* hmac-sha1-96-etm<span></span>@openssh.com
|
|
|
+* hmac-md5-etm<span></span>@openssh.com
|
|
|
+* hmac-md5-96-etm<span></span>@openssh.com
|
|
|
|
|
|
## Compression
|
|
|
|
|
|
@@ -174,6 +166,10 @@ using (var client = new SshClient("sftp.foo.com", "guest", "pwd"))
|
|
|
}
|
|
|
```
|
|
|
|
|
|
+## Building the library
|
|
|
+
|
|
|
+The library has no special requirements to build, other than an up-to-date .NET SDK. See also [CONTRIBUTING.md](https://github.com/sshnet/SSH.NET/blob/develop/CONTRIBUTING.md).
|
|
|
+
|
|
|
## Supporting SSH.NET
|
|
|
|
|
|
Do you or your company rely on **SSH.NET** in your projects? If you want to encourage us to keep on going and show us that you appreciate our work, please consider becoming a [sponsor](https://github.com/sponsors/sshnet) through GitHub Sponsors.
|