From bff4d387fa22ad943a6d91a66792f2a4ac644e28 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Sat, 6 Feb 2016 19:03:16 +0100 Subject: [PATCH 1/5] Draft of readme --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..95215cac --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +#Introduction# +This project was inspired by **Sharp.SSH** library which was ported from java and it seems like was not supported for quite some time. This library is a complete rewrite, without any third party dependencies, using parallelism to achieve the best performance possible. + +#Features# +* Execution of SSH command using both synchronous and asynchronous methods +* Return command execution exit status and other information +* Provide SFTP functionality for both synchronous and asynchronous operations +* Provides SCP functionality +* Provide status report for upload and download sftp operations to allow accurate progress bar implementation +* Remote, dynamic and local port forwarding +* Shell/Terminal implementation +* Specify key file pass phrase +* Use multiple key files to authenticate +* Supports diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1 and diffie-hellman-group1-sha1 key exchange methods +* Supports 3des-cbc, aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr, aes192-ctr, aes256-ctr, blowfish-cbc, cast128-cbc, arcfour and twofish encryptions +* Supports hmac-md5, hmac-sha1, hmac-ripemd160, hmac-sha2-256, hmac-sha2-256-96, hmac-md5-96 and hmac-sha1-96 hashing algorithms +* Supports publickey, password and keyboard-interactive authentication methods +* Supports RSA and DSA private key +* Supports DES-EDE3-CBC, DES-EDE3-CFB, DES-CBC, AES-128-CBC, AES-192-CBC and AES-256-CBC algorithms for private key encryption +* Supports two-factor or higher authentication +* Supports SOCKS4, SOCKS5 and HTTP Proxy + +#Framework Support# +* .NET Framework 3.5 +* .NET Framework 4.0 +* Silverlight 4 +* Silverlight 5 +* Windows Phone 7.1 +* Windows Phone 8.0 + +![NDepend](http://download-codeplex.sec.s-msft.com/Download?ProjectName=sshnet&DownloadId=629750) From e87a05a48803d884ebcf1b436deb431b61776567 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Sat, 6 Feb 2016 19:41:04 +0100 Subject: [PATCH 2/5] Attempt to add link to NDepend image. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95215cac..d0437046 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,4 @@ This project was inspired by **Sharp.SSH** library which was ported from java an * Windows Phone 7.1 * Windows Phone 8.0 -![NDepend](http://download-codeplex.sec.s-msft.com/Download?ProjectName=sshnet&DownloadId=629750) +[![NDepend](http://download-codeplex.sec.s-msft.com/Download?ProjectName=sshnet&DownloadId=629750)](http://ndepend.com) From 9d5f234d648d67bb7b5aade2e1cd49a47eb865dc Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Sun, 7 Feb 2016 10:33:01 +0100 Subject: [PATCH 3/5] Add draft section on building SSH.NET --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d0437046..e4f3d538 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,11 @@ This project was inspired by **Sharp.SSH** library which was ported from java an * Windows Phone 7.1 * Windows Phone 8.0 +#Building SSH.NET# + +Software | .NET 3.5 | .NET 4.0 | SL 4 | SL 5 | WP 71 | WP 80 +--------------------- | :------: | :------: | :--: | :--: | :---: | :---: +Windows Phone SDK 8.0 | | | x | x | x | x +Visual Studio 2012 | x | x | x | x | x | x + [![NDepend](http://download-codeplex.sec.s-msft.com/Download?ProjectName=sshnet&DownloadId=629750)](http://ndepend.com) From 076477e0c34e970ef39be257d2260871f8a9c443 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Thu, 11 Feb 2016 21:02:55 +0100 Subject: [PATCH 4/5] Added license --- LICENSE | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..76793c21 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ +New BSD License (BSD) + +Copyright (c) 2010, RENCI +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of RENCI nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From 27da10c0d3fbb14016579694e8106e7db7a9c4b2 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Thu, 11 Feb 2016 21:04:23 +0100 Subject: [PATCH 5/5] Add wrapping --- LICENSE | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 76793c21..96c2f086 100644 --- a/LICENSE +++ b/LICENSE @@ -3,12 +3,20 @@ New BSD License (BSD) Copyright (c) 2010, RENCI All rights reserved. -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions +are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. -* Neither the name of RENCI nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. +* Neither the name of RENCI nor the names of its contributors may be used to endorse or promote products derived from this software + without specific prior written permission. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.