From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 03:11:57 2008 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 E852F1065671 for ; Thu, 23 Oct 2008 03:11:57 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id C962C8FC19 for ; Thu, 23 Oct 2008 03:11:57 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from localhost ([127.0.0.1]) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Ksqc7-000GlD-6z; Wed, 22 Oct 2008 23:11:56 -0400 Message-ID: <48FFEB7A.4000907@FreeBSD.org> Date: Wed, 22 Oct 2008 22:11:54 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: kalin m References: <48FFD609.6090206@el.net> <48FFD8D5.9050100@FreeBSD.org> <48FFE469.9040404@el.net> In-Reply-To: <48FFE469.9040404@el.net> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) Cc: freebsd-questions@freebsd.org Subject: Re: scp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 03:11:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 kalin m wrote: > > with -vvv i get this below: > > ............................................................. > debug1: bits set: 1034/2048 > debug1: ssh_dss_verify: signature correct > debug1: kex_derive_keys > debug1: newkeys: mode 1 > debug1: SSH2_MSG_NEWKEYS sent [...] > > after this i get the password prompt.... > > why does it say try pubkey: id_rsa when id_rsa is supposed to be the > private key? > > ?!?! > > Hi Kalin, Don't worry about that message - I see the same thing here with an ssh connection that succeeds. The "try pubkey" message displays a private key file. Did you check the sshd_config file on the server and the /var/log/messages file for additional hints? If you see anything interesting, please post the output here. Also make sure that PubkeyAuthentication is enabled ("on") in sshd_config. Regards, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj/63kACgkQ0sRouByUApAk/gCfTwdUyekSlWD2RFW1Bkmx57XH sbYAn0ArMnCOVybN/yomeu7XiOe+154f =MlC3 -----END PGP SIGNATURE-----