Description of problem:
Under openssh 6.6 it it not possible to set the server host key algorithms.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add HostKeyAlgorithms to the sshd config file
2. restart sshd
/etc/ssh/sshd_config: line 157: Bad configuration option: HostKeyAlgorithms
That this is known
The option was introduced with OpenSSH 7.0.
Thank you for taking the time to enter a bug report with us. We appreciate the feedback and look to use reports such as this to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution.
If this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain it receives the proper attention and prioritization to assure a timely resolution.
For information on how to contact the Red Hat production support team, please visit:
This can be resolved by rebase to upstream openssh, or by backporting several patches:
https://github.com/openssh/openssh-portable/commit/5bf0933 (test cases modifications)
This change is also deprecating DSA keys from the server and client side, which we should not break, unless we have a good reason to and it is well documented (in either case).
This is expected behavior as described in upstream mailing list thread:
In short, the extension is still a draft and there is no reasonable way to "overwrite" the standard ssh-rsa with this extension.
At some point, we will certainly want to address this issue and do not use SHA1 altogether, but so far there is no way how to do that (mainly because the SHA2 hashes are extensions to the standard ssh-rsa).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.