Replies: 1 comment 2 replies
-
imho you should restrict ssh access to specific users only in general (via AllowedUsers in sshd_config) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if mentioned but a better way is not to add a user for login ssh access better security
Example:
instead of adduser sdtdserver then ask for password
should be done by this:
useradd sdtdserver -m -s /usr/sbin/nologin (Debian)
to now login into that user
su -s /bin/bash sdtdserver
Beta Was this translation helpful? Give feedback.
All reactions