You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Renci.SshNet.Tests/Classes/Connection/ProtocolVersionExchangeTest_ConnectionClosedByServer_NoDataSentByServer.cs
Copy file name to clipboardExpand all lines: src/Renci.SshNet.Tests/Classes/Connection/ProtocolVersionExchangeTest_ServerDoesNotRespondWithIdentificationStringBeforeTimeout.cs
Copy file name to clipboardExpand all lines: src/Renci.SshNet.Tests/Classes/Connection/ProtocolVersionExchangeTest_ServerResponseContainsNullCharacter.cs
Copy file name to clipboardExpand all lines: src/Renci.SshNet.Tests/Classes/Connection/ProtocolVersionExchangeTest_ServerResponseInvalid_SshIdentificationOnlyContainsProtocolVersion.cs
@@ -49,10 +52,14 @@ public SshIdentification Start(string clientVersion, Socket socket, TimeSpan tim
49
52
{
50
53
if(bytesReceived.Count==0)
51
54
{
52
-
thrownewSshConnectionException("Server response does not contain SSH protocol identification. Connection to remote server was closed before any data was received.",DisconnectReason.ConnectionLost);
55
+
thrownewSshConnectionException("The server response does not contain an SSH protocol identification. Connection to remote server was closed before any data was received.",DisconnectReason.ConnectionLost);
53
56
}
54
57
55
-
thrownewSshConnectionException(string.Format("Server response does not contain SSH protocol identification:{0}{1}",Environment.NewLine,PacketDump.Create(bytesReceived,2)),
58
+
thrownewSshConnectionException(string.Format("The server response does not contain an SSH protocol identification:{0}{0}{1}{0}{0}"+
0 commit comments