Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit sshd features #11

Open
knweiss opened this issue Oct 14, 2016 · 1 comment
Open

Audit sshd features #11

knweiss opened this issue Oct 14, 2016 · 1 comment

Comments

@knweiss
Copy link

knweiss commented Oct 14, 2016

There's the sshd -T feature. It checks the validity of the /etc/ssh/sshd_config configuration file and outputs the effective configuration to stdout and then exits.

I thought this may be an interesting and easy way to audit the effective server settings.

I.e. it would be possible to not only check the configured algorithms but also insecure or dangerous features (e.g. X11Forwarding, Agent-Forwarding, etc).

Obviously, this check would only run locally (i.e. not remote) but it would make sshd hardening easier.

@knweiss
Copy link
Author

knweiss commented Oct 14, 2016

Also, checking the bit sizes of the configured SSH host keys (e.g. RSA >= 2048 bit) would be another useful local check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant