From owner-freebsd-questions@FreeBSD.ORG Mon Mar 7 01:44:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5C1216A4CE for ; Mon, 7 Mar 2005 01:44:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4877943D55 for ; Mon, 7 Mar 2005 01:44:36 +0000 (GMT) (envelope-from jeff.wirth@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so972060rnf for ; Sun, 06 Mar 2005 17:44:36 -0800 (PST) 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:references; b=t61bXgXehpdC5tKHGfabY6sIiYYiiJEgjG9FhO7WUI3xAyUbIbl4FAXzCVerczkaDlWUWcbf2hVwpMHMB2QbOlZM4OBqEQgxm38OwrnvWsyRgvAt0zfHtylBHhCj8Rk8Obk59igNL3S4UYwGn8J/18l1cgutok1umby4a6YjKmk= Received: by 10.38.83.78 with SMTP id g78mr163163rnb; Sun, 06 Mar 2005 17:44:35 -0800 (PST) Received: by 10.38.181.68 with HTTP; Sun, 6 Mar 2005 17:44:35 -0800 (PST) Message-ID: <5d2cf692050306174471107d08@mail.gmail.com> Date: Sun, 6 Mar 2005 20:44:35 -0500 From: Jeff With To: Danie Du Toit In-Reply-To: <8af8258905030617207f4be393@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <8af8258905030617207f4be393@mail.gmail.com> cc: FreeBSD-questions@freebsd.org Subject: Re: sshd - public key vs keyboard interactive authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeff With List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 01:44:36 -0000 > > So, my questions: > > 1. How do I disable password authentication - i.e. force to use the DSA keys? Make sure all 'password' auth is disabled and publickey is enabled. PasswordAuthentication no UseLogin no UsePAM no PubkeyAuthentication yes > > 2. Can I use both for added security - i.e. using the keys and then > get prompted for password? There was some work stared on this type of thing last year, but I don't think it was every finalized... http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=108552250117169&w=2 - jw