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

Kindly disallow Root login #5

Open
coolaj86 opened this issue Mar 21, 2023 · 0 comments
Open

Kindly disallow Root login #5

coolaj86 opened this issue Mar 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@coolaj86
Copy link
Contributor

PermitRootLogin yes, but /root/.ssh/authorized_keys:

no-port-forwarding,no-agent-forwarding,no-X11-forwarding,command="echo 'Please login as the user \"ubuntu\" rather than the user \"root\".';echo;sleep 10" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCrucwUwyULu0n8XCsWn... [email protected]
@coolaj86 coolaj86 added the enhancement New feature or request label Aug 21, 2024
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