project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Feature] SSHD hardening

Open surreal70 opened this issue 6 months ago • 1 comments

Got an idea? Nice! 💡 We love hearing what features would make PegaProx better for you.

A friendly reminder: PegaProx is built by volunteers in our spare time. We can't promise timelines or guarantee every feature will be implemented — but every suggestion helps shape the roadmap!

Want to help move things faster?


Describe the feature

Suggest to include the following changes to sshd hardening:

' ' '

CIS 5.2.2 or 5.5.4

Protocol 2 X11Forwaring no PermitEmptyPasswords no ' ' '

Use Case

Improve security and CIS Compliance

Alternatives considered

change config manual

How important is this for you?

nice to have

Checklist

  • [yes ] I have searched existing issues and discussions to make sure this hasn't been requested before

Testet on 3 different cluster PE VE 8 and PE VE 9 and PBS 4

surreal70 avatar May 19 '26 12:05 surreal70

SSHD hardening shipped ✅ — the "SSH Access Hardening" control (Datacenter → Node → Harden PVE Node) applies X11Forwarding no + PermitEmptyPasswords no (plus MaxAuthTries, ClientAlive*, AllowTcpForwarding no, and PermitRootLogin prohibit-password). It validates with sshd -t before reloading and is rollback-safe.

One deliberate note on the requested Protocol 2: the Protocol directive was removed in OpenSSH 7.6 (PVE 8/9 ship OpenSSH 9.x, SSHv1 no longer exists) and has been dropped from the current CIS Debian benchmarks — setting it today would only emit a config-parse warning. So it's intentionally omitted, not an oversight.

Closing as done — thanks for the detailed request! 🔒

mkellermann97 avatar Jul 04 '26 13:07 mkellermann97