gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.27k stars 670 forks source link

Add new SSH host key types #1429

Closed flaix closed 1 year ago

flaix commented 1 year ago

Add ECDSA and EdDSA (i.e. Ed25519) SSH host keys. This allows clients to connect to the server with ECDSA or Ed25519, which is good for users using OpenSSH 8.8 and higher which has ssh-rsa disabled. This means they do not have to resort to work-arounds, enabling it again.

The ssh-dsa host key is no longer generated with new installations, but existing ones will still be used. To remove support for an existing ssh-dsa host key simply delete the file ssh-dsa-hostkey.pem.

This PR resolves issue #1354 .