From b18714c248fba27fa46e64dc2e42bd4b318df880 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 30 Mar 2021 22:39:46 -0500 Subject: [PATCH] ... --- phpseclib/Net/SSH2.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 76784732..bd79462f 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -2965,13 +2965,6 @@ class Net_SSH2 $this->channel_status[NET_SSH2_CHANNEL_SHELL] = NET_SSH2_MSG_IGNORE; - $response = $this->_get_channel_packet(NET_SSH2_CHANNEL_SHELL); - if ($response === false) { - return false; - } - - $this->channel_status[NET_SSH2_CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_DATA; - $this->bitmap |= NET_SSH2_MASK_SHELL; return true;