mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-19 03:35:12 +00:00
Merge remote-tracking branch 'phpseclib/master' into php5
* phpseclib/master: SSH2: Continue Subsystem Implementation.
This commit is contained in:
commit
71ad6b914f
@ -2349,7 +2349,6 @@ class Net_SSH2 {
|
||||
return false;
|
||||
}
|
||||
|
||||
$channel = $this->in_request_pty_exec ? NET_SSH2_CHANNEL_EXEC : NET_SSH2_CHANNEL_SHELL;
|
||||
return $this->_send_channel_packet($this->_get_interactive_channel(), $cmd);
|
||||
}
|
||||
|
||||
@ -2430,8 +2429,7 @@ class Net_SSH2 {
|
||||
*/
|
||||
function reset()
|
||||
{
|
||||
$channel = $this->in_request_pty_exec ? NET_SSH2_CHANNEL_EXEC : NET_SSH2_CHANNEL_SHELL;
|
||||
$this->_close_channel($channel);
|
||||
$this->_close_channel($this->_get_interactive_channel());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user