From bc27d7575b719f6ec53e7eee50382cb980f8c621 Mon Sep 17 00:00:00 2001 From: Marius Thesing Date: Fri, 3 Oct 2025 14:12:13 +0200 Subject: [PATCH] fix missing PermitTTY in RemoteSshdConfig Reset this fixes a test failure in Common_CreateMoreChannelsThanMaxSessions when running the tests multiple times against the same SSH server instance. see https://github.com/sshnet/SSH.NET/pull/1704#issuecomment-3343210311 --- .../Common/RemoteSshdConfigExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Renci.SshNet.IntegrationTests/Common/RemoteSshdConfigExtensions.cs b/test/Renci.SshNet.IntegrationTests/Common/RemoteSshdConfigExtensions.cs index 2a2ccaa4f..9309be40e 100644 --- a/test/Renci.SshNet.IntegrationTests/Common/RemoteSshdConfigExtensions.cs +++ b/test/Renci.SshNet.IntegrationTests/Common/RemoteSshdConfigExtensions.cs @@ -23,6 +23,7 @@ public static void Reset(this RemoteSshdConfig remoteSshdConfig) .ClearHostKeyAlgorithms() .ClearPublicKeyAcceptedAlgorithms() .ClearMessageAuthenticationCodeAlgorithms() + .PermitTTY(true) .WithUsePAM(true) .Update() .Restart();