Created attachment 3318 [details] 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
This is ok djm and dtucker if you want to commit it yourself
Committed.
closing resolved bugs as of 8.6p1 release