Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-01-2005, 06:15 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Remove SSH users?

I wonder how I deny users to use SSH and SFTP?

Thank you.
Old 12-01-2005, 06:29 AM   #2
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15

You can look at
#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.
Old 12-01-2005, 09:25 PM   #3
LQ Newbie
Registered: Dec 2005
Location: Pakistan
Distribution: RHEL
Posts: 5

Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
remove passwords from all users? paul_mat Linux - Networking 2 06-23-2005 06:59 PM
remove directory from a users PATH reddazz Linux - General 4 01-14-2005 11:29 AM
How to remove Mandrake Galaxy Theming for all users and all new users. Zombie_Ryushu Mandriva 0 01-04-2005 06:38 PM
Remove Users LunarEagle Linux - Newbie 1 11-14-2004 03:24 PM
How do I remove users form my system? Joey.Dale Red Hat 2 11-11-2003 08:43 PM

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration