The stupid question is the question not asked | |
PerlMonks |
Re^3: Am I using Net::SSH2 the wrong way?by salva (Canon) |
on Jan 18, 2013 at 14:37 UTC ( [id://1014067]=note: print w/replies, xml ) | Need Help?? |
Net::SSH2 should be able to run the command. Problem is that getting it do it correctly may be a difficult task that is already solved in Net::SSH::Any.
You could use its source code (look for the __io3 function) for inspiration, though it is quite convoluted at that level because of all the extra features it supports.
In Section
Seekers of Perl Wisdom
|
|