in reply to Problem to connect remote host
So, um, which module are you using? There seems to be some confusion between your code and your question. Net::SSH is not the same as Net::SSH::Perl. Are you sure you have Net::SSH::Perl installed on your system in a library where it can be found?
In Section
Seekers of Perl Wisdom