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

Closed
PhilippSelenium opened this issue Nov 6, 2018 · 1 comment
Closed

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

PhilippSelenium opened this issue Nov 6, 2018 · 1 comment

Comments

@PhilippSelenium
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,curve25519-sha256@libssh.org

Debug output from paramiko:

kex algos:[u'diffie-hellman-group14-sha256', u'diffie-hellman-group16-sha512', u'diffie-hellman-group18-sha512', u'curve25519-sha256@libssh.org'] server key:[u'ssh-rsa', u'ssh-ed25519'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com'] client mac:[u'hmac-sha2-512-etm@openssh.com', u'hmac-sha2-256-etm@openssh.com', u'umac-128-etm@openssh.com'] server mac:[u'hmac-sha2-512-etm@openssh.com', u'hmac-sha2-256-etm@openssh.com', u'umac-128-etm@openssh.com'] client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none', u'zlib@openssh.com'] 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

self._log(

@ploxiln
Copy link
Contributor

@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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants