diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index af88fb0a..94f2c0ef 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3675,7 +3675,6 @@ class Net_SSH2 function getServerPublicHostKey() { if (!($this->bitmap & NET_SSH2_MASK_CONSTRUCTOR)) { - $this->bitmap |= NET_SSH2_MASK_CONSTRUCTOR; if (!$this->_connect()) { return false; }