Skip to content

Commit 35599b4

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/develop'
2 parents 4f25cc0 + bfbf64f commit 35599b4

File tree

486 files changed

+51610
-51027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

486 files changed

+51610
-51027
lines changed

.gitattributes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
*.cs text
44
*.xaml text
5-
*.sln text eol=crlf
6-
*.csproj text eol=crlf
7-
*.shproj text eol=crlf
8-
*.appxmanifest text eol=crlf
5+
*.sln eol=crlf
6+
*.csproj eol=crlf
7+
*.shproj eol=crlf
8+
*.appxmanifest eol=crlf
99

1010
*.png binary
1111
*.jpg binary

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
#Introduction#
1+
SSH.NET
2+
=======
3+
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
4+
5+
[![Version](https://img.shields.io/nuget/vpre/SSH.NET.svg)](https://www.nuget.org/packages/SSH.NET)
6+
[![Build status](https://ci.appveyor.com/api/projects/status/ih77qu6tap3o92gu/branch/develop?svg=true)](https://ci.appveyor.com/api/projects/status/ih77qu6tap3o92gu/branch/develop)
7+
8+
##Introduction
29
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.
310

4-
#Features#
11+
##Features
512
* Execution of SSH command using both synchronous and asynchronous methods
613
* Return command execution exit status and other information
714
* Provide SFTP functionality for both synchronous and asynchronous operations
@@ -18,15 +25,15 @@ This project was inspired by **Sharp.SSH** library which was ported from java an
1825
* Supports two-factor or higher authentication
1926
* Supports SOCKS4, SOCKS5 and HTTP Proxy
2027

21-
#Key Exchange Method#
28+
##Key Exchange Method
2229

2330
**SSH.NET** supports the following key exchange methods:
2431
* diffie-hellman-group-exchange-sha256
2532
* diffie-hellman-group-exchange-sha1
2633
* diffie-hellman-group14-sha1
2734
* diffie-hellman-group1-sha1
2835

29-
#Message Authentication Code#
36+
##Message Authentication Code
3037

3138
**SSH.NET** supports the following MAC algorithms:
3239
* hmac-md5
@@ -40,7 +47,7 @@ This project was inspired by **Sharp.SSH** library which was ported from java an
4047
* hmac-ripemd160
4148
4249

43-
#Framework Support#
50+
##Framework Support
4451
**SSH.NET** supports the following target frameworks:
4552
* .NET Framework 3.5
4653
* .NET Framework 4.0
@@ -88,7 +95,7 @@ FEATURE_DNS_APM | [Dns](https://msdn.microsoft.com/en-us/librar
8895
FEATURE_DNS_SYNC | [Dns](https://msdn.microsoft.com/en-us/library/system.net.dns.aspx) supports synchronous execution
8996
FEATURE_REFLECTION_TYPEINFO |
9097

91-
#Building SSH.NET#
98+
##Building SSH.NET
9299

93100
Software | .NET 3.5 | .NET 4.0 | SL 4 | SL 5 | WP 71 | WP 80 | UAP10
94101
--------------------------------- | :------: | :------: | :--: | :--: | :---: | :---: | :---:

appveyor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
os: Visual Studio 2015
2+
3+
before_build:
4+
- nuget restore
5+
6+
build:
7+
project: src\Renci.SshNet.VS2015.sln
8+
verbosity: minimal
9+
10+
test:
11+
assemblies: src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll
12+
categories:
13+
except:
14+
- integration

build/nuget/SSH.NET.nuspec

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,19 @@
1010
<projectUrl>https://github.com/sshnet/SSH.NET/</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism and with broad framework support.</description>
13-
<releaseNotes>2016.0.0-beta1
13+
<releaseNotes>2016.0.0-beta2
14+
==============
15+
16+
Changes:
17+
18+
* Improved performance of ScpClient (GitHub issue #21)
19+
20+
Fixes:
21+
22+
* Terminal width (pixels) is not passed in pty-req
23+
* Stopping ForwardedPortDynamic without ever having started would result in a NRE
24+
25+
2016.0.0-beta1
1426
==============
1527

1628
New Features:

src/References/X.690-0207.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Source = http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
2-
Code = .\Renci.SshNet\Common\DerData.cs
1+
Source = http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf
2+
Code = .\Renci.SshNet\Common\DerData.cs
33
Uncyclo = http://en.wikipedia.org/wiki/Distinguished_Encoding_Rules
Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
using System;
2-
using System.Diagnostics;
3-
using System.Net.Sockets;
4-
using System.Security.Cryptography;
5-
using System.Text;
6-
using System.Threading;
7-
8-
namespace Renci.SshNet
9-
{
10-
/// <summary>
11-
/// Collection of different extension method specific for .NET 3.5
12-
/// </summary>
13-
internal static partial class Extensions
14-
{
15-
/// <summary>
16-
/// Disposes the specified socket.
17-
/// </summary>
18-
/// <param name="socket">The socket.</param>
19-
[DebuggerNonUserCode]
20-
internal static void Dispose(this Socket socket)
21-
{
22-
if (socket == null)
23-
throw new NullReferenceException();
24-
25-
socket.Close();
26-
}
27-
28-
/// <summary>
29-
/// Disposes the specified handle.
30-
/// </summary>
31-
/// <param name="handle">The handle.</param>
32-
[DebuggerNonUserCode]
33-
internal static void Dispose(this WaitHandle handle)
34-
{
35-
if (handle == null)
36-
throw new NullReferenceException();
37-
38-
handle.Close();
39-
}
40-
41-
/// <summary>
42-
/// Disposes the specified algorithm.
43-
/// </summary>
44-
/// <param name="algorithm">The algorithm.</param>
45-
[DebuggerNonUserCode]
46-
internal static void Dispose(this HashAlgorithm algorithm)
47-
{
48-
if (algorithm == null)
49-
throw new NullReferenceException();
50-
51-
algorithm.Clear();
52-
}
53-
54-
/// <summary>
55-
/// Clears the contents of the string builder.
56-
/// </summary>
57-
/// <param name="value">
58-
/// The <see cref="StringBuilder"/> to clear.
59-
/// </param>
60-
public static void Clear(this StringBuilder value)
61-
{
62-
value.Length = 0;
63-
value.Capacity = 16;
64-
}
65-
}
66-
}
1+
using System;
2+
using System.Diagnostics;
3+
using System.Net.Sockets;
4+
using System.Security.Cryptography;
5+
using System.Text;
6+
using System.Threading;
7+
8+
namespace Renci.SshNet
9+
{
10+
/// <summary>
11+
/// Collection of different extension method specific for .NET 3.5
12+
/// </summary>
13+
internal static partial class Extensions
14+
{
15+
/// <summary>
16+
/// Disposes the specified socket.
17+
/// </summary>
18+
/// <param name="socket">The socket.</param>
19+
[DebuggerNonUserCode]
20+
internal static void Dispose(this Socket socket)
21+
{
22+
if (socket == null)
23+
throw new NullReferenceException();
24+
25+
socket.Close();
26+
}
27+
28+
/// <summary>
29+
/// Disposes the specified handle.
30+
/// </summary>
31+
/// <param name="handle">The handle.</param>
32+
[DebuggerNonUserCode]
33+
internal static void Dispose(this WaitHandle handle)
34+
{
35+
if (handle == null)
36+
throw new NullReferenceException();
37+
38+
handle.Close();
39+
}
40+
41+
/// <summary>
42+
/// Disposes the specified algorithm.
43+
/// </summary>
44+
/// <param name="algorithm">The algorithm.</param>
45+
[DebuggerNonUserCode]
46+
internal static void Dispose(this HashAlgorithm algorithm)
47+
{
48+
if (algorithm == null)
49+
throw new NullReferenceException();
50+
51+
algorithm.Clear();
52+
}
53+
54+
/// <summary>
55+
/// Clears the contents of the string builder.
56+
/// </summary>
57+
/// <param name="value">
58+
/// The <see cref="StringBuilder"/> to clear.
59+
/// </param>
60+
public static void Clear(this StringBuilder value)
61+
{
62+
value.Length = 0;
63+
value.Capacity = 16;
64+
}
65+
}
66+
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
3-
using System.Runtime.InteropServices;
4-
5-
[assembly: AssemblyTitle("SSH.NET .NET 3.5")]
6-
[assembly: Guid("a9698831-4993-469b-81f1-aed4e5379252")]
7-
[assembly: InternalsVisibleTo("Renci.SshNet.Tests.NET35, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f9194e1eb66b7e2575aaee115ee1d27bc100920e7150e43992d6f668f9737de8b9c7ae892b62b8a36dd1d57929ff1541665d101dc476d6e02390846efae7e5186eec409710fdb596e3f83740afef0d4443055937649bc5a773175b61c57615dac0f0fd10f52b52fedf76c17474cc567b3f7a79de95dde842509fb39aaf69c6c2")]
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
[assembly: AssemblyTitle("SSH.NET .NET 3.5")]
6+
[assembly: Guid("a9698831-4993-469b-81f1-aed4e5379252")]
7+
[assembly: InternalsVisibleTo("Renci.SshNet.Tests.NET35, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f9194e1eb66b7e2575aaee115ee1d27bc100920e7150e43992d6f668f9737de8b9c7ae892b62b8a36dd1d57929ff1541665d101dc476d6e02390846efae7e5186eec409710fdb596e3f83740afef0d4443055937649bc5a773175b61c57615dac0f0fd10f52b52fedf76c17474cc567b3f7a79de95dde842509fb39aaf69c6c2")]
88
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]

0 commit comments

Comments
 (0)