Net::SSH::Perl::Kex::DH - Diffie-Hellman Group Agnostic Key Exchange
# This class should not be used directly, but rather as a base for DH1, DH14, etc use Net::SSH::Perl::Kex::DH; use base qw( Net::SSH::Perl::Kex::DH ); # Simply implement _dh_new_group and return the Crypt::DH group sub _dh_new_group { my $kex = shift; ... $dh; }
Net::SSH::Perl::Kex::DH implements Diffie-Hellman Group Agnostic Exchange for Net::SSH::Perl. It is a subclass of Net::SSH::Perl::Kex.
Key Exchange uses the Diffie-Hellman key exchange algorithm to produce a shared secret key between client and server, without ever sending the shared secret over the insecure network. All that is sent are the client and server public keys.
Please see the Net::SSH::Perl manpage for author, copyright, and license information.
To install Net::SSH::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SSH::Perl
CPAN shell
perl -MCPAN -e shell install Net::SSH::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.