Help for this page
# NB: you can only do one command on a channel so we get the channel ## do the command give back the output then close the channel Note +that the command ## must be a fully "shell punctuated and escaped" ... } return $out ; }
print docmd("cd tmp; ls") ; print docmd("cd bin; ls") ; $ssh2->disconnect() ;