Mailing List Archive

[Bug 3064] New: Place algorithm at head of default list
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@mindrot.org
Reporter: naddy@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@openssh.com,aes256-gcm@openssh.com

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs