##
use Net::SSH qw(sshopen2);
use strict;
my $user = "root";
my $host = "149.195.49.155";
my $cmd = "ls -l";
sshopen2("$user\@$host", *READER, *WRITER, "$cmd") || die "ssh: $!";
while () {
chomp();
print "$_\n";
}
close(READER);
close(WRITER);
## ##
C:\Scripts>esx_conn3.pl
'ssh' is not recognized as an internal or external command,
operable program or batch file.