This code gives me the same error that I was seeing with my test code. The following is the output executing exactly what you have posted with changed IP/username, of course.
andy@andy-desktop:~/core/arpinfo$ ./test2.pl Password: Password: expect failed, Expect=GLOB(0x2083bb8)->exp_error() Connection to 10.105.0.62 closed by remote host.
In reply to Re^2: Problems with Net::OpenSSH
by aeaton1843
in thread Problems with Net::OpenSSH
by aeaton1843
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |