hi
I dont' know how to know if my password is correct when I'm connecting
on ssh.
I'have read the error handle that someone have post here but that don't
work for me. I have try this :
foreach $host (@ip) {
print $host."\n";
$ssh = Net::SSH::Perl->new($host);
eval { $ret = $ssh->login($user, $pass);};
print "LOG2 : ".$ret."\n";
}
but the ret value show me the password when i can login and when i can't
login.
can anyone help me
thx
Olivier AUDRY
ps : sorry for my english i'm not an english speaker
|