in reply to Re: Passing the shell script in ssh->cmd option
in thread Passing the shell script in ssh->cmd option

Is it possible to redirect the ssh->cmd output command output to some scalar variable $cmd="ls"; ssh->cmd($cmd); my requirement is to store ls output to one scalar variable. as per the above example ls output should be stored in the some scalar variable $test.
  • Comment on Re^2: Passing the shell script in ssh->cmd option