ionos-cloud / cluster-api-provider-ionoscloud

cluster-api provider for IONOS Cloud
Apache License 2.0
12 stars 4 forks source link

🐛 SSH Hardening #140

Closed jriedel-ionos closed 5 months ago

jriedel-ionos commented 5 months ago

What is the purpose of this pull request/Why do we need it? Add tweaks for Diffie-Hellman key exchange, because of a CVE. See:

And 4096 bit host keys are used to harden SSH security.

I used https://www.sshaudit.com/hardening_guides.html#ubuntu_22_04_lts as a hardening guide.

Description of changes:

Checklist:

gfariasalves-ionos commented 5 months ago

I think you should add the reasoning for removing the key exchange in the PR.

piepmatz commented 5 months ago

Do the nodes now pass the test at https://sshaudit.com/ with the Hardened Ubuntu Server 22.04 LTS (version 5) policy?

jriedel-ionos commented 5 months ago

Do the nodes now pass the test at https://sshaudit.com/ with the Hardened Ubuntu Server 22.04 LTS (version 5) policy?

Yes

piepmatz commented 5 months ago
sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud