http://www.perlmonks.org?node_id=873237


in reply to Re: Problems with Net::OpenSSH
in thread Problems with Net::OpenSSH

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.