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

my $switchexit = $obj->print("\037"); # <== PROBLEM
with
$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" ;
Sorry about going back to hex, i dont think as well in octal.