/** * Execute command on remote shell * @param string $cmd Command ex:pwd * @return string $output Command output */ function execCmd($cmd) { $output = $this->objSsh->exec($cmd); return $output; }