in reply to Re^2: Net::SSH2::Cisco and Nexus switches
in thread Net::SSH2::Cisco and Nexus switches
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().
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Net::SSH2::Cisco and Nexus switches
by cnoyes72 (Initiate) on Aug 16, 2018 at 14:29 UTC | |
by VinsWorldcom (Prior) on Aug 16, 2018 at 14:54 UTC |
In Section
Seekers of Perl Wisdom