I have tried all options in different senarios and I the script is not taking it. The part of Net::OpenSSH is nice, but the problem part for me here is that I do not own the server and OpenSSH is not an option for me. (just user)
I was wondering if there is an option within $exp->interact();
Like when within the interact process if the hostname of the device is detected it will send and additional exit.
in reply to Re: perl-expect interact command
in thread perl-expect interact command