in reply to Alteon's and SSH
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.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Alteon's and SSH
by alongwor (Novice) on Nov 10, 2003 at 12:26 UTC |