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