Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support diffie-hellman-group14-sha256 and friends #1332

PhilippSelenium opened this issue Nov 6, 2018 · 1 comment

Support diffie-hellman-group14-sha256 and friends #1332

PhilippSelenium opened this issue Nov 6, 2018 · 1 comment


Copy link

@PhilippSelenium PhilippSelenium commented Nov 6, 2018

I cannot log in to a server supporting the following kex:

KexAlgorithms diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,

Debug output from paramiko:

kex algos:[u'diffie-hellman-group14-sha256', u'diffie-hellman-group16-sha512', u'diffie-hellman-group18-sha512', u''] server key:[u'ssh-rsa', u'ssh-ed25519'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'', u''] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'', u''] client mac:[u'', u'', u''] server mac:[u'', u'', u''] client compress:[u'none', u''] server compress:[u'none', u''] client lang:[u''] server lang:[u''] kex follows?False

Debug print of self._preferred_kex (

filter(kex_algo_list.__contains__, self._preferred_kex)

('ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521', 'diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1')

It would also be nice to have the self._preferred_kex logged in


Copy link

@ploxiln ploxiln commented Nov 6, 2018

try #1233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants