Re: Disabling access to SSH
michael (<email@example.com>) wrote:
>> On Tue, 2004-11-16 at 08:50 +0100, Mark Maas wrote:
>>> I'm trying to restrict access to my ssh server from the outside to
>>> allow only two IP adresses and the internal lan ofcourse.
>>> And deny access to everyone else.
>> Besides the allready mentioned iptables and hosts.allow/deny
>> mechanisms you can also limit this somewhat in SSH itself:
>> in /etc/ssh/sshd_config
>> AllowUsers <valid usernames for ssh>
> but which ssh are you using? it does not seem to be in
> OpenSSH_3.8.1p1 Debian-8.sarge.3, OpenSSL 0.9.7d 17 Mar 2004
That option is not used by default, but it is still supported. See
`man sshd_config` for details.
Andreas Janssen <firstname.lastname@example.org>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976