There's more than one way to do things | |
PerlMonks |
Re: Writing to an SSH channelby salva (Canon) |
on Sep 19, 2018 at 07:26 UTC ( [id://1222627]=note: print w/replies, xml ) | Need Help?? |
You may like to check Net::SSH::Any. It works on top of Net::SSH2 (and other SSH modules), and provides a much higher level and easy to use API.
It also takes into account a lot of Net::SSH2 quirks and corner cases you are not handling.
In Section
Seekers of Perl Wisdom
|
|