function _close()
    {
        switch ($this->mode) {
            case self::MODE_SSH2:
                $this->ssh->_close_channel(SSH2::CHANNEL_EXEC, true);
                break;
            case self::MODE_SSH1:
                $this->ssh->disconnect();
        }
    }
function _close()
    {
        switch ($this->mode) {
            case self::MODE_SSH2:
                $this->ssh->_close_channel(SSH2::CHANNEL_EXEC, true);
                break;
            case self::MODE_SSH1:
                $this->ssh->disconnect();
        }
    }
function _close ( ) { switch ( $ this -> mode ) { case self :: MODE_SSH2 : $ this -> ssh -> _close_channel ( SSH2 :: CHANNEL_EXEC , true ) ; break ; case self :: MODE_SSH1 : $ this -> ssh -> disconnect ( ) ; } }
Closes the connection to an SSH server

@access private
Closes the connection to an SSH server