From owner-freebsd-security@FreeBSD.ORG Mon Oct 3 13:51:07 2005 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4705616A41F for ; Mon, 3 Oct 2005 13:51:07 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E2E943D5A for ; Mon, 3 Oct 2005 13:51:00 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: by xproxy.gmail.com with SMTP id t5so192930wxc for ; Mon, 03 Oct 2005 06:51:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gwd0yaxCvqCPamk6N7e0IdSUd8mGKe9aDGXw/2KtMaNAFiqby8e+59VZlDPgmlNaHX7xFb3zJRC8KHWD71eaLZLOWy45c1BSpJixTZJGAJ2m0y8lS2PgGDqZwA0Vzl0FmJdisE7njFonPVu1DDsM/rONHwTeNB9SxB1sd6HkGhU= Received: by 10.70.62.18 with SMTP id k18mr61671wxa; Mon, 03 Oct 2005 06:51:00 -0700 (PDT) Received: by 10.70.67.15 with HTTP; Mon, 3 Oct 2005 06:51:00 -0700 (PDT) Message-ID: <54db43990510030651x58eaa863ma46e0e37df175c29@mail.gmail.com> Date: Mon, 3 Oct 2005 09:51:00 -0400 From: Bob Johnson To: mario In-Reply-To: <52149.192.168.23.8.1128318960.squirrel@mail.schmut.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4340ACC1.1000306@open-networks.net> <547e6a320510022240p76ae276fp94ee8ab598795a22@mail.gmail.com> <52149.192.168.23.8.1128318960.squirrel@mail.schmut.com> Cc: freebsd-security@freebsd.org, jrhall@gmail.com Subject: Re: Repeated attacks via SSH X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Johnson List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 13:51:07 -0000 On 10/3/05, mario wrote: > So, Jared Hall wrote: > > Is there a way to block root login over 22? > > Jared > > ______________________ > > yep > > [root@snoopy ~]#grep Root /etc/ssh/sshd_config > PermitRootLogin no This is not sufficient if ssh is using PAM for authentication (because PAM will allow root logins). Make sure you also have disabled PAM authentication with ChallengeResponseAuthentication no I think both of these settings default to "no" these days, but you might want to check your config to be sure. - Bob