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

Allow only one ssh session #22

Open
MrKevinWeiss opened this issue Jul 17, 2020 · 0 comments
Open

Allow only one ssh session #22

MrKevinWeiss opened this issue Jul 17, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MrKevinWeiss
Copy link
Collaborator

It would be good to prevent multiple ssh sessions so there are no problems with concurrent access.

To do this go into /etc/security/limits.conf and add pi - maxlogins 1.

This should be added in the ansible script and maybe also another user... localadmin should be added as a backdoor in case it gets locked.

@MrKevinWeiss MrKevinWeiss added the enhancement New feature or request label Jul 17, 2020
@MrKevinWeiss MrKevinWeiss self-assigned this Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant