Net::SSH::Perl::Kex(3pm) - phpMan

Command: man perldoc info search(apropos)  


Net::SSH::Perl::Kex(3pm)       User Contributed Perl Documentation       Net::SSH::Perl::Kex(3pm)



NAME
       Net::SSH::Perl::Kex - SSH2 Key Exchange

SYNOPSIS
           use Net::SSH::Perl::Kex;
           my $kex = Net::SSH::Perl::Kex->new($ssh);
           $kex->exchange;

DESCRIPTION
       Net::SSH::Perl::Kex implements base functionality for SSH2 key exchange. The basic idea is
       this: Kex itself initializes the client algorithm proposal, sends it to the server, then
       waits for the server's proposal. From these proposals Kex chooses the algorithms that will
       be used in the communications between client and server (eg. encryption algorithm, MAC
       algorithm, etc.). Different algorithms can be used in each direction; for example, client
       to server communications could be encrypted using 3DES, and server to client could be
       encrypted using RC4.

       The algorithm negotiation phase, as described above, includes negotiation for the key-
       exchange algorithm to be used.  Currently, the only supported algorithm is Diffie-Hellman
       Group 1 key exchange, implemented in Net::SSH::Perl::Kex::DH1.  After algorithm
       negotiation, the Kex object is reblessed into the key exchange class (eg.
       'Net::SSH::Perl::Kex::DH1'), and then the subclass's exchange method is called to perform
       the key exchange.

       Once control returns to Kex::exchange, the client waits for the SSH_MSG_NEWKEYS message;
       once received, the client turns on its incoming encryption/MAC/compression algorithms,
       then sends an SSH_MSG_NEWKEYS message to the server.  Finally, it turns on its outgoing
       encryption/MAC/compression algorithms.

AUTHOR & COPYRIGHTS
       Please see the Net::SSH::Perl manpage for author, copyright, and license information.



perl v5.10.0                                2009-02-01                   Net::SSH::Perl::Kex(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-24 21:27 @38.107.179.240 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!