Subject: | Different behavour between ssh->send and ssh->get_expect->send |
I have a script that does some automatic navigation in a Cisco small
business switch menu through ssh.
I had a problem that sending \033 did not worked with Net::SSH::Expect
object.
Doing the same using Telnet and Expect works.
So in my ssh script, I changed my $ssh->send and $ssh->waitfor to use
Expect::send and Expect::expect on the get_expect object and it works...
Still don't understand where is the bug :(