in reply to Perl Net::SSH2 on Window

Try taking look at using Control::CLI, which uses Net::SSH2 for SSH connections. With Control::CLI, you can specify logs that can be used to help debug what is going on with your attempt to connect and issue commands.