public function iExec($command, $expect = "", $expectRegex = false) {
		trim( $command, "\n" );
        if ($this->SSHObject->write($command . "\n")) {
            return $this->SSHObject->read($expect,
                ($expectRegex ? NET_SSH . $this->protocol . _READ_REGEX : NET_SSH . $this->protocol . _READ_SIMPLE));
		} else return false;
	}