In waitfor(), if there is a timeout and waitfor_clear() is set, an ios_break('Z') (ctrl-z) is sent. That explains the Z. If you're confident you have the prompt correct, try experimenting with waitfor_clear().
In reply to Re^3: Net::SSH2::Cisco and Nexus switches
by VinsWorldcom
in thread Net::SSH2::Cisco and Nexus switches
by cnoyes72
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |