Hi everyone
I recently installed a CP for managing my VPS which requires root login (yep, that's bad..).
To keep the server more or less secure, I would love to have the following:
- Is it possible, that you allow key based auth from everywhere for user root
BUT
- password based auth for user root only from defined IP/Subnet?
I read about the match statement in sshd_config, but I couldn't figure out how to do it correctly.
Help is really appreciated
Thank you,
Regards,
MaddinXx
Recent comments
2 days 21 hours ago
3 days 6 hours ago
3 days 9 hours ago
3 days 10 hours ago
3 days 12 hours ago
3 days 13 hours ago
3 days 15 hours ago
3 days 16 hours ago
4 days 8 hours ago
4 days 9 hours ago