[CentOS] Securing SSH

Peter Kjellstrom cap at nsc.liu.se
Thu Mar 27 08:19:55 UTC 2008


On Wednesday 26 March 2008, Tim Alberts wrote:
> Tim Alberts wrote:
> > So I setup ssh on a server so I could do some work from home and I
> > think the second I opened it every sorry monkey from around the world
> > has been trying every account name imaginable to get into the system.
> >
> > What's a good way to deal with this?
>
> SSH question.  Can I setup a group of users who can access SSH from the
> local network.  Then a separate list of users that can access SSH from
> the internet?

Yes, see /etc/security/access.conf (it's well commented).

/Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20080327/883f0ae7/attachment.sig>


More information about the CentOS mailing list