LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Remove SSH users? (https://www.linuxquestions.org/questions/linux-software-2/remove-ssh-users-388225/)

o3h 12-01-2005 05:15 AM

Remove SSH users?
 
Hello!
I wonder how I deny users to use SSH and SFTP?

Thank you.

Razze 12-01-2005 05:29 AM

Hello!

You can look at
Code:

#man sshd_config
The options you will want to use for restricting users are AllowUsers and possibly AllowGroups (or use the deny option if you only want to block a few.

lll_302_lll 12-01-2005 08:25 PM

your question is bit incomplete ... if you want to restrict someone else to manipulate your machine than you can simplay stop service


# /etc/rc.d/init.d/sshd stop

and if you are looking for something else then explain your question plz:confused:


All times are GMT -5. The time now is 01:08 AM.