[Ssh-sftp-perl-users] Net::SSH2 example
Brought to you by:
dbrobins
From: Rob V. <rob...@br...> - 2006-02-13 13:52:34
|
Hi everyone, I'm trying to get Net::SSH2 to work but I'm kinda stuk after the connection is made. Could anyone provide an example on how to set up a connection, give a remote command, and then read the output of that command(either stdout or stderr) I would also apreciate an example of the use of chan->shell(); on how to put several commands into that one and how to read the output of those commands (stderr and stdout again) Thanx Rob |