From 14d7a745a7c42877545f2621459877da1c72a765 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Thu, 6 Nov 2003 07:34:27 +0000 Subject: [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-2] add a demo host key and point demo-server at it. also, temporarily comment out the nonfunctional kex-gex method. --- transport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'transport.py') diff --git a/transport.py b/transport.py index 9790f2b6..2020b279 100644 --- a/transport.py +++ b/transport.py @@ -80,7 +80,8 @@ class BaseTransport(threading.Thread): preferred_ciphers = [ 'aes128-cbc', 'blowfish-cbc', 'aes256-cbc', '3des-cbc' ] preferred_macs = [ 'hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96' ] preferred_keys = [ 'ssh-rsa', 'ssh-dss' ] - preferred_kex = [ 'diffie-hellman-group1-sha1', 'diffie-hellman-group-exchange-sha1' ] + preferred_kex = [ 'diffie-hellman-group1-sha1' ] +# preferred_kex = [ 'diffie-hellman-group1-sha1', 'diffie-hellman-group-exchange-sha1' ] cipher_info = { 'blowfish-cbc': { 'class': Blowfish, 'mode': Blowfish.MODE_CBC, 'block-size': 8, 'key-size': 16 }, -- cgit v1.2.3