Re: sshd.config and AllowUsers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: openbsd misc
Date: Monday, March 26, 2007 - 11:09 am

Hello,

everything is commented because these are the default settings. If you want to
change a setting you'll have to uncomment and change it.


Regards
  Hagen Volpers

-----Urspr|ngliche Nachricht-----
Von: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org] Im Auftrag von
Jerome Santos
Gesendet: Montag, 26. Mdrz 2007 19:33
An: misc@openbsd.org
Betreff: sshd.config and AllowUsers

I have a few seperate users on my server, one user for which I want to
dissallow ssh login. Now I've read the man page for sshd and I've read a lot
of the documentation on this, but I'm still not clear one one point. By
default, /etc/ssh/sshd.config shows all entries are commented out. I want to
add something like this:

AllowUsers user1, user2, user3

I added that in but also with an # in front like all the other entries. Now
I find that I can still ssh to the box with a user acct that I didn't
include in the entry. Should it be in there without the #? And if so, do I
also then have to uncomment all the other entries??

Thanks
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sshd.config and AllowUsers, Jerome Santos, (Mon Mar 26, 10:33 am)
Re: sshd.config and AllowUsers, Tim Kuhlman, (Mon Mar 26, 11:07 am)
Re: sshd.config and AllowUsers, openbsd misc, (Mon Mar 26, 11:09 am)
Re: sshd.config and AllowUsers, Will Maier, (Mon Mar 26, 11:14 am)
Re: sshd.config and AllowUsers, Serge Basterot, (Mon Mar 26, 12:09 pm)
Re: sshd.config and AllowUsers, Jerome Santos, (Mon Mar 26, 1:38 pm)
Re: sshd.config and AllowUsers, Lars D. Noodén, (Mon Mar 26, 9:59 pm)