LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-11-2002, 08:46 AM   #1
mangueJOE
Member
 
Registered: Nov 2001
Location: Brazil
Distribution: Ubuntu, Debian
Posts: 66

Rep: Reputation: 16
Question block SSH connection to non root users


How can I do that?
 
Old 07-11-2002, 12:26 PM   #2
Florian R.
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Rep: Reputation: 0
Only One Setting

So limit access to users of the group "root"
add a the line:
AllowGroups root
to the config-file:
/etc/ssh/sshd-config
 
Old 07-11-2002, 01:50 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Or you can limit only to user root. In most cases there's no real difference.
AllowUsers root

Last edited by Mara; 07-11-2002 at 01:52 PM.
 
Old 07-11-2002, 04:15 PM   #4
mangueJOE
Member
 
Registered: Nov 2001
Location: Brazil
Distribution: Ubuntu, Debian
Posts: 66

Original Poster
Rep: Reputation: 16
thanks dude
 
  


Reply


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
block specific users in squid alan.belizario Linux - Security 4 09-10-2005 12:43 AM
ssh behaves different for root and users lopette Linux - Software 1 11-20-2004 07:09 AM
Block DNS users slam Linux - Networking 9 09-30-2003 03:25 PM
SSH Config - non-root users toccoa Linux - Newbie 1 07-18-2003 11:07 PM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:02 AM.

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