From 810919ca66c06ef76d5095369625d23597605a60 Mon Sep 17 00:00:00 2001 From: Zane H Date: Fri, 22 Apr 2022 18:12:38 -0600 Subject: [PATCH] Handle SSH servers that send success response out of spec order --- phpseclib/Net/SSH2.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 0ffb7437..e7ceb210 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -4028,6 +4028,7 @@ class SSH2 } // fall-through case MessageType::CHANNEL_EOF: + case MessageType::CHANNEL_SUCCESS: break; default: $this->disconnect_helper(DisconnectReason::BY_APPLICATION);