in reply to How to Communicate with linux from windows
In any case, Net::SSH::Expect is not a great module, you will be better using Net::SSH2, Net::SSH::Any or even Net::SSH::Perl.