示例#1
0
 /**
  * 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;
 }