Re: iptables & tcp wrappers

Jan Gerrit Göbel <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <001c01c4a63a$1cc716a0$025ba8c0@snow>
> 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 [email protected], [email protected].*

that way you can restrict ssh logins to certain users from certain IPs or IP 
ranges...

regards
jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.