diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 630cee61..b1ce4b9c 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3436,6 +3436,8 @@ class SSH2 $this->session_id = false; $this->retry_connect = true; $this->get_seq_no = $this->send_seq_no = 0; + $this->channel_status = []; + $this->channel_id_last_interactive = 0 } /**