15 lines
489 B
Ruby
15 lines
489 B
Ruby
# -*- coding: binary -*-
|
|
require 'net/ssh/transport/kex/diffie_hellman_group1_sha1'
|
|
require 'net/ssh/transport/kex/diffie_hellman_group_exchange_sha1'
|
|
|
|
module Net::SSH::Transport
|
|
module Kex
|
|
# Maps the supported key-exchange algorithms as named by the SSH protocol
|
|
# to their corresponding implementors.
|
|
MAP = {
|
|
'diffie-hellman-group-exchange-sha1' => DiffieHellmanGroupExchangeSHA1,
|
|
'diffie-hellman-group1-sha1' => DiffieHellmanGroup1SHA1
|
|
}
|
|
end
|
|
end
|