|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: iptables & tcp wrappers
From: Jan Gerrit Göbel (Jan.Goebel
post.rwth-aachen.de)
Date: Wed Sep 29 2004 - 10:36:39 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> My goal is to block all incoming ssh attempts except IP#.
> This is where I got into hosts.allow/deny as mentioned below.
why don´t you edit the /etc/ssh/sshd_config and add the lines "AllowUsers
username
someIP"
example:
AllowUsers bla
212.132.3.147, laberl
212.132.3.*
that way you can restrict ssh logins to certain users from certain IPs or IP
ranges...
regards
jan
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]