Help for this page

Select Code to Download


  1. or download this
    my %params = (
                "protocol"         => '2',
    ...
    
    $ssh = Net::SSH::Perl->new($server, %params);# debug=>1, identity_file
    +s=>\@KEYFILE);
    $ssh->login();
    
  2. or download this
    localhost: Authentication methods that can continue: publickey,passwor
    +d,keyboard-interactive.
    localhost: Next method to try is publickey.
    localhost: Trying pubkey authentication with key file 'client_key'
    Wrong key type at C:/Strawberry/perl/site/lib/Net/SSH/Perl/Auth/Public
    +Key.pm line 83.
    
  3. or download this
    localhost: Next method to try is publickey.
    localhost: Trying pubkey authentication with key file 'client_key.pub'
    ...
    localhost: Loading private key failed.
    localhost: Trying pubkey authentication with key file 'client_key'
    Wrong key type at C:/Strawberry/perl/site/lib/Net/SSH/Perl/Auth/Public
    +Key.pm line 83.