mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-11 08:39:43 +01:00
Merge branch 'nexans-1.0' into nexans-2.0
This commit is contained in:
commit
111852d7c0
@ -2949,13 +2949,6 @@ class SSH2
|
||||
|
||||
$this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_IGNORE;
|
||||
|
||||
$response = $this->_get_channel_packet(self::CHANNEL_SHELL);
|
||||
if ($response === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->channel_status[self::CHANNEL_SHELL] = NET_SSH2_MSG_CHANNEL_DATA;
|
||||
|
||||
$this->bitmap |= self::MASK_SHELL;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user