Skip to content

Conversation

@rhyven
Copy link

@rhyven rhyven commented Mar 9, 2015

Added more detail for a strong sshd_config file

Added more detail for a strong sshd_config file
@GigabyteProductions
Copy link

This definitely looks like an improvement, but what is the shortened LoginGraceTime for?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A better value for this setting is sandbox. Here's the description from the manpage:

If UsePrivilegeSeparation is set to “sandbox” then the pre-authentication unprivileged process is subject to additional restrictions.

(via https://wiki.mozilla.org/Security/Guidelines/OpenSSH)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fmarier - Thanks François, I didn't know about the sandbox setting!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GigabyteProductions - Just to reduce the amount of time the system is listening to an unauthenticated user; I was coming from a viewpoint of "minimum possible access", and didn't see the point in giving people a whole 120 seconds of airtime. There may be no security value in it, but there might be a new 0-day at some point or something.

Changed PrivilegeSeparation to sandbox (thanks, @fmarier!)
Added VERBOSE log level
Added 4096-bit RSA key (usually 1024 or 2048 bit created on initial system install)
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

Successfully merging this pull request may close these issues.

3 participants