S
SlimClity
Hi,
I'm using the Net::SSH:
W32)Perl module to do some stuff on a BSD
machine. But I have some problems with error detection with this
module:
# Load modules
use Net::SSH::W32Perl;W32
# Create new SSH object and login
$ssh = Net::SSH::W32Perl->new($hostname)
or die "Er is een fout met de hostname, controleer deze...";
Gives:
Can't connect to 123.123.123.800: Invalid argument (instead of my
error message)
$ssh->login($username, $password)
or die "Uw gebruikersnaam of wachtwoord is fout...";
Gives:
Permission denied at ssh_test.pl at line .. (instead of my error
message)
I've tried using: PrintError=>0, but that doesn't help. What could be
wrong?
Thanks for the time/help.
I'm using the Net::SSH:
machine. But I have some problems with error detection with this
module:
# Load modules
use Net::SSH::W32Perl;W32
# Create new SSH object and login
$ssh = Net::SSH::W32Perl->new($hostname)
or die "Er is een fout met de hostname, controleer deze...";
Gives:
Can't connect to 123.123.123.800: Invalid argument (instead of my
error message)
$ssh->login($username, $password)
or die "Uw gebruikersnaam of wachtwoord is fout...";
Gives:
Permission denied at ssh_test.pl at line .. (instead of my error
message)
I've tried using: PrintError=>0, but that doesn't help. What could be
wrong?
Thanks for the time/help.