summaryrefslogtreecommitdiffhomepage
path: root/transport.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2003-11-06 07:34:27 +0000
committerRobey Pointer <robey@lag.net>2003-11-06 07:34:27 +0000
commit14d7a745a7c42877545f2621459877da1c72a765 (patch)
tree4f9acf6a27bde4a1ecd7173422be88f327d6970e /transport.py
parent3b9901a602085fdee66249b14f83c158864b5f33 (diff)
[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.
Diffstat (limited to 'transport.py')
-rw-r--r--transport.py3
1 files changed, 2 insertions, 1 deletions
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 },