Net::SS...:Kex::DH(3)
π Net::SS...:Kex::DH(3) π
okay bestie, welcome to the User Contributed Perl Documentation section, we're looking at Net::SS...:Kex::DH(3) today and honestly? she's a vibe. π¦
β¨ NAME β¨
Net::SSH::Perl::Kex::DH β Diffie-Hellman Group Agnostic Key Exchange π
πΈ SYNOPSIS πΈ
not me giving you the whole rundown up top β read this carefully, it's literally the whole point of the class π«Ά
# This class should not be used directly, but rather as a base for DH1,
# DH14SHA1, DH16SHA512, 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;
}
likeβ¦ she is a base class, okay? she's not here to do the work herself, she's here so the other girls (DH1, DH14SHA1, DH16SHA512, etc β you know the ones) can pop off. π
π DESCRIPTION π
so. Net::SSH::Perl::Kex::DH implements Diffie-Hellman Group Agnostic Exchange for Net::SSH::Perl. and yes she is a subclass of Net::SSH::Perl::Kex β family tree matters, periodt. π
Key Exchange uses the Diffie-Hellman key exchange algorithm to produce a shared secret key between client and server, and the way it does that without ever sending the shared secret over the insecure network? iconic. literally iconic. π
all that actually gets sent are the client and server public keys. that's it. that's the whole slay. the secret stays home, the public keys go on tour. β¨
π§ AUTHOR & COPYRIGHTS π§
Please see the Net::SSH::Perl manpage for author, copyright, and license information. π
bestie I know you want the tea on who wrote this and what the license is β go check Net::SSH::Perl, she has all of it, no cap. π
and that's the whole page!! π this one was rendered by perl v5.42.0 and it's dated 2026-01-17, so shoutout to the toolchain for keeping her cute and current. mwah, go read the parent manpage. ππΈπ¦βπ
π¦ where this page comes from
- fedora 44: perl-Net-SSH-Perl 2.144-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms