LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-27-2005, 11:36 PM   #1
Meabert
Member
 
Registered: Nov 2005
Distribution: Fedora Core 13
Posts: 31

Rep: Reputation: 15
SSH Questions


I am using fedora core 3 how do I restrict users that can use SSH because I only want certain users to use SSH.
 
Old 12-28-2005, 12:31 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Add this line to your /etc/ssh/sshd_config file:

Code:
AllowUsers user1 user2 user3
where user1, user2, user3, etc... are the users you want to have ssh access privileges.
 
Old 12-28-2005, 01:24 AM   #3
Meabert
Member
 
Registered: Nov 2005
Distribution: Fedora Core 13
Posts: 31

Original Poster
Rep: Reputation: 15
Talking

Quote:
Originally Posted by megaspaz
Add this line to your /etc/ssh/sshd_config file:

Code:
AllowUsers user1 user2 user3
where user1, user2, user3, etc... are the users you want to have ssh access privileges.
Thanks for your help!
 
  


Reply



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
some SSH questions... nick1 SUSE / openSUSE 2 03-23-2005 05:24 AM
ssh configuration questions vidarz Debian 2 06-08-2004 10:06 AM
X over ssh: config questions yocompia Linux - Networking 3 09-19-2003 09:28 AM
SSH Questions Tezdread Linux - Networking 7 02-05-2003 04:34 PM
SSH Questions Stevy123 Linux - Networking 4 10-01-2002 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 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