Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2006 18:17:56 +0100
From:      albi <albi@scii.nl>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        bgilmer@gilmer.org, freebsd-questions@freebsd.org
Subject:   Re: sshd possible breakin attempt messages
Message-ID:  <20060206181756.45bbf665.albi@scii.nl>
In-Reply-To: <43E7816B.7040300@daleco.biz>
References:  <20060206162304.GA83056@gilmer.org> <43E7816B.7040300@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 06 Feb 2006 11:03:39 -0600
Kevin Kinsey <kdk@daleco.biz> wrote:

>      1.  edit /etc/ssh/sshd_config and make sure that only the right
> users and such are allowed to login, and via the right methods.
> 
>      2.  If the situation allows, you can wrap sshd
> via /etc/hosts.allow to only allow logins from certain IP addresses
> (i.e., wherever you intend to admin this box from).

you can also do this in /etc/ssh/sshd_config like for example : 

AllowUsers jane@10.1.1.1 joe@192.168.0.254 mary@194.109.9.*

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060206181756.45bbf665.albi>