Skip to content

Commit ad3f0dc

Browse files
committed
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 #1704 (comment)
1 parent 0c3a1f4 commit ad3f0dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Renci.SshNet.IntegrationTests/Common/RemoteSshdConfigExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public static void Reset(this RemoteSshdConfig remoteSshdConfig)
2323
.ClearHostKeyAlgorithms()
2424
.ClearPublicKeyAcceptedAlgorithms()
2525
.ClearMessageAuthenticationCodeAlgorithms()
26+
.PermitTTY(true)
2627
.WithUsePAM(true)
2728
.Update()
2829
.Restart();

0 commit comments

Comments
 (0)