in reply to Re: Control:CLI or Net::SSH2 - Send <ctrl>_
in thread Control:CLI or Net::SSH2 - Send <ctrl>_
Ok, one more limb, this is but a mere hailmary guess.
what if you first have to be in the console before even escape works?
so in the original test code replace
withmy $switchexit = $obj->print("\037"); # <== PROBLEM
Sorry about going back to hex, i dont think as well in octal.$output = $obj->put("\x0a"); Sleep 1; # give it time to start the console; $output = $obj->put("\x1f"); Sleep 1; # give it time to for a "time guard interval" ;
|
|---|