I have a user that has their shell set to nologin, or actually a different binary "noshell" provided by cPanel.
whatever the case, I want to know if setting their shell this way is enough to prevent them from accessing the server and reaching its files.
when I log in with their key to SFTP I receive an error telling me
unexpected end of file, but I am not entirely sure if that would be enough.
Additionally, how do I explicitly deny this user from using SFTP?