LinuxQuestions.org
Help answer threads with 0 replies.
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 05-16-2006, 12:54 PM   #1
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Rep: Reputation: 15
selectly enable/disable ssh for user..


hi,
I am using fedora5. I was wondering if it is possible to select allow/disable users to do ssh from remote PC.
If so, let tell me how to do it. I would be very thankful.
 
Old 05-16-2006, 01:08 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you don't have many users, you could use the AllowUsers directive in your sshd_config file. Only users listed in AllowUsers are allowed SSH access. If you have a lot of users, there is an AllowGroups directive as well and you could do it on the basis of groups.

If you look through man sshd_config you'll find the fine details.
 
Old 05-16-2006, 02:06 PM   #3
piyushiitk
Member
 
Registered: Jul 2004
Location: kanpur, india
Distribution: Fedora Core 4
Posts: 31

Original Poster
Rep: Reputation: 15
thanks alot buddy !!
 
  


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
Disable/Enable network interface Edwardml Mandriva 5 10-19-2005 11:00 AM
Runlevel Editor - Cannot Enable/Disable caesium5 SUSE / openSUSE 1 10-06-2005 06:35 AM
enable disable Tuttle General 0 01-08-2005 05:21 PM
Enable/Disable GTk CheckButton Claus Programming 2 12-01-2003 05:44 AM
how to disable sendmail and enable postfix? JM_Fraser Linux - Newbie 0 11-27-2003 07:07 AM

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

All times are GMT -5. The time now is 06:57 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
Open Source Consulting | Domain Registration