From owner-freebsd-questions@FreeBSD.ORG Thu Aug 30 17:28:12 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4670716A418 for ; Thu, 30 Aug 2007 17:28:12 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (crsd-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2d5::2]) by mx1.freebsd.org (Postfix) with ESMTP id E9BC213C461 for ; Thu, 30 Aug 2007 17:28:10 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l7UHRixp059677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Aug 2007 21:27:44 +0400 (MSD) (envelope-from yuri@darklight.org.ru) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=darklight.org.ru; s=darklight; t=1188494864; bh=Ub3L0UTJCTpntc7is6Omim7UKKfsjqlu6tvAe GJkcoU=; h=Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To: User-Agent; b=gmBAAAQPJyUqC6Koeko7tSiUP/pYGEbqa85k4fk4+Kc+GD0z/tuX PIowNsysTRmZ2Os1u/GzZvaMurNYnqDiacFgWAyTDWx4ChkW9bCzMmwkdW6ny0aNZ9D DhzVjEiJXT85Bsf/HdheFkmlbtBNyF9TJ+BXi3WW0lzZORMnxHcM= Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l7UHRhZY059676; Thu, 30 Aug 2007 21:27:43 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Thu, 30 Aug 2007 21:27:43 +0400 From: Yuri Pankov To: Laszlo Nagy Message-ID: <20070830172743.GB46255@darklight.org.ru> References: <46D6EAB4.5060501@shopzeus.com> <46D6ECEA.5090107@crackmonkey.us> <46D6F712.8070905@shopzeus.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <46D6F712.8070905@shopzeus.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions@freebsd.org Subject: Re: ssh2 login with public key - not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 17:28:12 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 30, 2007 at 06:57:54PM +0200, Laszlo Nagy wrote: > >> >> Hi Laszlo. >> >> Isn't it just a matter of adding "PasswordAuthentication no" to=20 >> /etc/ssh/sshd_config? [At the server end, Captain Obvious prompts me.] >> >> I'll check one of my old systems later but I think that's it... > Well, I have other users using public keys for logging in so the sshd=20 > config must be correct. > This is the only user that doesn't work. I can login by typing in the=20 > password but I need to login automatically. > > Best, > > Laszlo Have you checked /var/log/auth.log on machine to which you are trying to connect? Yuri --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBG1v4Pd59O7+JWaLoRAoTOAKCK+R5GrzigViZ1K4SOGZKvHih8RQCaA0vl tLLGX1eo8G9HwRIOGSuazis= =BIcf -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--