Skip to content

Commit 7c05bd1

Browse files
committed
Increase max. SSH packet size back to 68536 (64 KB + 3000).
1 parent ea47d9d commit 7c05bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Renci.SshNet/Session.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ public class Session : ISession
5050
/// Specifies maximum packet size defined by the protocol.
5151
/// </summary>
5252
/// <value>
53-
/// 35000.
53+
/// 68536 (64 KB + 3000).
5454
/// </value>
55-
private const int MaximumSshPacketSize = 35000;
55+
private const int MaximumSshPacketSize = LocalChannelDataPacketSize + 3000;
5656

5757
/// <summary>
5858
/// Holds the initial local window size for the channels.

0 commit comments

Comments
 (0)