in reply to Net::SSH2 Interactive command example
#shell use my $chan2 = $ssh2->channel(); $chan2->shell(); print $chan2 "uname -a\n"; print "LINE : $_" while <$chan2>; print $chan2 "who\n"; print "LINE : $_" while <$chan2>; $chan2->close;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH2 Interactive command example
by vdubjunkie (Novice) on Apr 18, 2008 at 18:21 UTC | |
by iguanodon (Priest) on Apr 18, 2008 at 19:18 UTC | |
by delirium_az (Initiate) on Jul 30, 2008 at 01:00 UTC |