[Bug 3064] New: Place algorithm at head of default list

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Sep 5 06:26:39 AEST 2019


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

            Bug ID: 3064
           Summary: Place algorithm at head of default list
           Product: Portable OpenSSH
           Version: 8.0p1
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: naddy at mips.inka.de

Created attachment 3318
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3318&action=edit
ssh_prefer.diff

ssh_config(5) and sshd_config(5) already allow adding '+' and removing
'-' an algorithm from the default list.  Oddly, I mostly find myself
wanting to prefer an algorithm, i.e., place it at the head of the list
without removing anything.  The attached patch adds this ability.  To
prefer algorithms, prefix them with '^'.  E.g.:

  HostKeyAlgorithms ^ssh-ed25519
  Ciphers ^aes128-gcm at openssh.com,aes256-gcm at openssh.com

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


More information about the openssh-bugs mailing list