Install and configure SSH on Debian 12 Bookworm
https://edafe.de/2023/09/install-and-configure-ssh-on-debian-12-bookworm/
"The following configuration disables root logins on the remote machine. Only users belonging to the group ssh-users may establish a connection. Access to the remote machine is tied to the local user’s private key."
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
https://wiki.debian.org/SSH
Don’t want to ssh as root anyway. Connect as normal user then elevate privileges.
Nothing wrong with ssh as root - I have been doing for 20+ years on devices on my own network.