[Bug 3780] New: connecting using KexAlgorithms list fails without spaces

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jan 23 22:39:21 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3780

            Bug ID: 3780
           Summary: connecting using KexAlgorithms list fails without
                    spaces
           Product: Portable OpenSSH
           Version: 9.9p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: sven.ginka at gmail.com

I have issues connecting to my ssh server:

using the predefined default kex list:

debug2: KEX algorithms:
curve25519-sha256,curve25519-sha256 at libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,
...

So I tried to provide a manual list for kex algorithms, because it
looks like that specific algorithms doesnt work. on that way I figured
out the following issue: 


ssh -vv myServer -o KexAlgorithms=ecdh-sha2-nistp256  ... ok

ssh -vv myServer -o KexAlgorithms=ecdh-sha2-nistp384  ... ok


ssh -vv myServer -o KexAlgorithms=ecdh-sha2-nistp256,ecdh-sha2-nistp384
... fails

ssh -vv myServer -o KexAlgorithms=ecdh-sha2-nistp384,ecdh-sha2-nistp256
  ... fails


ssh -vv myServer -o KexAlgorithms=ecdh-sha2-nistp384,
ecdh-sha2-nistp256   ... ok

ssh -vv myServer -o KexAlgorithms=ecdh-sha2-nistp256,
ecdh-sha2-nistp384   ... ok


it smells like, it has something to do with the spaces?

as the list provided doesnt have spaces, I wondering how to provide a
correct list?

this is really curious.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list