GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::SSH::PERL::KEX (3)

.ds Aq ’

NAME

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

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::SSH::PERL::KEX (3) 2015-09-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.