[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Extended question: SSH safety
- From: Chris Rouch <crouch pobox com>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Extended question: SSH safety
- Date: Mon, 15 Nov 2004 14:51:24 +0100
On Sun, 14 Nov 2004 13:26:07 +0100
"J.L. Coenders" <fedora universalgrid nl> wrote:
> is possible.
> Is it also possible to allow ssh traffic from for instance a few ip
> addresses? Because I am limited to I guess two or three ip's.
You can use tcp wrappers to do this. e.g.
/etc/hosts.deny
ALL: ALL
/etc/hosts.allow
SSHD: aaa.bbb.ccc.ddd
A long time ago someone else posted this trick for hosts.deny, which is
what I use, though it can get noisy:
ALL: ALL: spawn echo tcpwrap has detected an Unauthorised Connection \
Attempt from %h %a to %d at `date`|tee -a /var/log/secure|mail root
Regards,
Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]