protected function sshExec($remote_host, $command, &$output, &$return, $hide_pattern = '', $hide_replacement = '', $ouput_loglevel = LOG_INFO)
	{
		$cmd = $this->ssh_path .' -p '. $this->remote_port .' '. $this->remote_user .'@'. $remote_host .' "'. str_replace('"', '\"', $command) .'"';

		if ($hide_pattern != '') {
			$show_cmd = preg_replace($hide_pattern, $hide_replacement, $cmd);
		} else {
			$show_cmd = $cmd;
		}

		$this->log('sshExec: '. $show_cmd, $ouput_loglevel);

		exec($cmd, $output, $return);
	}