in reply to Re^2: Net::SSH2 Interactive command examplein thread Net::SSH2 Interactive command example
$chan2 = $ssh2->channel(); $chan2->blocking(0); $chan2->exec("tail -5 /var/log/authlog\n"); print "**$_" while <$chan2>; [download]