[Bug 3725] New: Unclear error when configuring 'ed25519' as HostKeyAlgorithms
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Tue Aug 27 04:36:33 AEST 2024
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=3725
            Bug ID: 3725
           Summary: Unclear error when configuring 'ed25519' as
                    HostKeyAlgorithms
           Product: Portable OpenSSH
           Version: 9.8p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: noratrieb at proton.me
When specifying an entirely invalid host key algorithm, a clear error
message is emitted:
$ ssh -oHostKeyAlgorithms=invalid localhost
command-line line 0: Bad key types 'invalid'.
But when configuring 'ed25519' (the correct algorithm is of course
ssh-ed25519), this error is not emitted, instead it errors with a
seemingly internal error.
$ ssh -oHostKeyAlgorithms=ed25519 localhost
ssh_kex2: kex_assemble_namelist: invalid argument
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list