LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-31-2006, 06:04 PM   #1
just_me_then
Member
 
Registered: Dec 2006
Posts: 59

Rep: Reputation: 15
ssh users


Hello,
Is there a way that i can ensure only specified users can log in using ssh? I want for example to be able to say that only user x and user y can log in using ssh?

Thanks
 
Old 12-31-2006, 06:21 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by just_me_then
Hello,
Is there a way that i can ensure only specified users can log in using ssh? I want for example to be able to say that only user x and user y can log in using ssh?

Thanks
sure, just use the "AllowUsers" option in your sshd_config file...

do a "man sshd_config" for all the details on the option...
 
Old 12-31-2006, 06:25 PM   #3
just_me_then
Member
 
Registered: Dec 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Fantastic! . . . . Thanks!
 
  


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
SSH users jeucken Linux - Networking 10 05-31-2006 04:10 PM
Remove SSH users? o3h Linux - Software 2 12-01-2005 09:25 PM
ssh users mrbabis Linux - Software 6 11-25-2005 11:55 AM
SSH users kl0wn Linux - Software 2 11-18-2004 04:54 AM
Ssh Users Look At This! DavidPhillips Linux - Security 11 09-16-2002 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:29 PM.

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