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

Improved sshd_config template #560

Merged

Conversation

pneerincx
Copy link
Contributor

Tweaked LoginGraceTime and MaxSessions depending on inventory group to prevent issues with MaxStartups especially on jumphosts.

… depending on inventory group to prevent issues with MaxStartups especially on jumphosts.
Copy link
Contributor

@marieke-bijlsma marieke-bijlsma left a comment

Choose a reason for hiding this comment

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

See inline comments

@@ -1,4 +1,43 @@
---
sshd_moduli_minimum: 3072
data_transfer_only_group: sftp-only
#
# Reduce LoginGraceTime on machines with direct internet connection to increase security
# and reduce the number of opened but not yet authenticated connections consumeing resources.
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: consuming

# The probability increases linearly and all connection attempts are refused
# if the number of unauthenticated connections reaches "full" (100).
# See also https://bugs.launchpad.net/openstack-ansible/+bug/1479812
# A connection is is no longer in unauthenticated state untill
Copy link
Contributor

Choose a reason for hiding this comment

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

Twice the word "is"

@marieke-bijlsma marieke-bijlsma merged commit bf27dba into rug-cit-hpc:develop Apr 28, 2022
@pneerincx pneerincx deleted the feature/improved_sshd_config branch April 28, 2022 09:46
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.

2 participants