diff --git a/phpseclib/Net/SFTP/Stream.php b/phpseclib/Net/SFTP/Stream.php index b4775e6b..89a0e59b 100644 --- a/phpseclib/Net/SFTP/Stream.php +++ b/phpseclib/Net/SFTP/Stream.php @@ -28,7 +28,7 @@ use phpseclib3\Net\SSH2; * @author Jim Wigginton * @access public */ -class Stream +class Stream extends SFTP { /** * SFTP instances diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index f7a099a8..4b63cd01 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -178,7 +178,7 @@ class SSH2 * @var object * @access private */ - private $fsock; + protected $fsock; /** * Execution Bitmap