|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Chris Wilkes (cwilkes
ladro.com)Date: Fri Oct 19 2001 - 11:06:18 CDT
On Fri, 19 Oct 2001, Brian Clifton wrote:
> Does anyone know how to restrict ssh login access to certain ip's??
> e.g. like host.allow does? I have found un-authorised attempts trying
> to log in via ssh in var/logs/secure...
>
> In /etc/ssh/sshd_config, I have:
> PermitRootLogin = no
> ReverseMappingCheck = no
> # I can not use this as our ADSL ip address does not reverse map
> # though I am investigating this.
Looking through the rest of the sshd_config file I found these two lines
remmed out:
# AllowHosts *.our.com friend.other.com
# DenyHosts lowsecurity.theirs.com *.evil.org evil.org
Did you try these out?
Chris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]