In short, I don't you can't use the $ssh->cmd() method for this connection.
I think that you can do this within the $ssh->shell() method by first setting up a call to $ssh->register_handler() which is prepared to listen for input and send responses using $channel->send_data()... But I wasn't able to find any good examples of this in the documentation. (Here's a bad example.)
In reply to Re: Alteon's and SSH
by simonm
in thread Alteon's and SSH
by alongwor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |