That version of OpenSSH indicates you're running RHEL/CentOS 6. Although 5.3 is really old and came without support for ECDSA keys, this feature is backported by RedHat since 5.3p1-95 and it indeed appears to work with openssh-5.3p1-123.el6_9.x86_64 in my Docker container.
Gerrit will actually attempt to generate all the types of keys and if it fails, just ignore it (source). It could be that somehow the generated key is incompatible with Gerrit.
[main] WARN com.google.gerrit.sshd.SshDaemon : Cannot format SSHD host key [EdDSA]: invalid key type
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Fri, Apr 13, 2018 at 5:03 PM Gert van Dijk <gert...@gmail.com> wrote:That version of OpenSSH indicates you're running RHEL/CentOS 6. Although 5.3 is really old and came without support for ECDSA keys, this feature is backported by RedHat since 5.3p1-95 and it indeed appears to work with openssh-5.3p1-123.el6_9.x86_64 in my Docker container.
Gerrit will actually attempt to generate all the types of keys and if it fails, just ignore it (source). It could be that somehow the generated key is incompatible with Gerrit.I wonder if that's what causes this warning in the log:[main] WARN com.google.gerrit.sshd.SshDaemon : Cannot format SSHD host key [EdDSA]: invalid key type