in reply to Re^2: Perl HP ilo vsp
in thread Perl HP ilo vsp
Try requesting a tty on the remote side:
Or adding some carrier returns before the escape sequence.my ($output, $errput) = $kssh->capture2({tty => 1, stdin_data => $esca +pe_seq}, "vsp");
Maybe the device will not accept the sequence until it has send some prompt. In that case, you will like to use Expect, or just use open2 to read the data and send the escape sequence when it is done.
Try also with a timeout and setting the kill_ssh_on_timeout flag.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl HP ilo vsp
by s4mur4i (Initiate) on Jun 01, 2012 at 10:25 UTC |