[Ssh-sftp-perl-users] Net::SSH::Perl - "PubkeyAuthentication no" not working
Brought to you by:
dbrobins
|
From: אייל ב. <eya...@gm...> - 2013-08-31 17:22:38
|
Hello all,
I try to execute the sample code "cmd.pl" that came with this module and
located at /eg.
This is the relevant part:
my $ssh = Net::SSH::Perl->new($host || $this_host,
debug => 1,
options => ["PubkeyAuthentication no"]);
My problem is - no matter what i tried, it is always trying PubKey
Authentication first and Password Authentication second.
BTW, when i run the command "ssh -o PubKeyAuthentication=no -v 'hostname'"
it is skipping the PubKey Authentication and goes directly to the Password
Authentication.
Any suggestions?
Thanks,
Eyal
|