$chan2 = $ssh2->channel(); $chan2->blocking(0); $chan2->exec("tail -5 /var/log/authlog\n"); print "**$_" while <$chan2>;
In reply to Re^3: Net::SSH2 Interactive command example
by delirium_az
in thread Net::SSH2 Interactive command example
by shooter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |