From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 01:44:58 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 35518106567B for ; Sat, 1 Nov 2008 01:44:58 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFA98FC0C for ; Sat, 1 Nov 2008 01:44:57 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so783099tid.3 for ; Fri, 31 Oct 2008 18:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:x-face:x-attribution:x-os-kernel:x-os-version :x-os-architecture:x-uptime:x-url:x-mail-morse:x-openpgp-fingerprint :x-openpgp-id:face:organization:user-agent:sender; bh=0/jIGzml1nyAygrIsLE8MyQ9EbRJnfFjyVRpOhZmz+I=; b=lAPtpTKyjI4CBzjxbiIuWkCwYMuMLe3N7NdOiOlQgy5G2otk3/59rvVP2kba88/o9z ZxabQ89+d2rWgabHywa9WuLe9J5+EyyW/It9IQKhgq3x+G2tErtMrJFKRBGHdcxZkmIC /5Vbtul3vkoDnPDiD1GxeoZ1w4ToEKZMXnx0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-face:x-attribution :x-os-kernel:x-os-version:x-os-architecture:x-uptime:x-url :x-mail-morse:x-openpgp-fingerprint:x-openpgp-id:face:organization :user-agent:sender; b=vGIBJnulQYiLactnYjdraPqVq2oNX7zP0Xsb6NuDkPq7CKRebDnc9YuRE5gXtDtD+E dv8GCLCLPBjpjf0tYoqYHs5LSBsxNU2oTV9/7/PnZKpVxygWE16T7S/9/wG0u9AT5BUa HO4cTRO5nSuacHoVfu43JZKmB2Qc43ryhKPeQ= Received: by 10.110.109.19 with SMTP id h19mr8949387tic.14.1225503896550; Fri, 31 Oct 2008 18:44:56 -0700 (PDT) Received: from chateau.d.lf ([122.162.54.71]) by mx.google.com with ESMTPS id 2sm7318970tif.0.2008.10.31.18.44.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Oct 2008 18:44:55 -0700 (PDT) Date: Sat, 1 Nov 2008 07:16:00 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla To: freebsd-questions@freebsd.org Message-ID: <20081101014600.GA37453@chateau.d.lf> References: <200810311652.38230.af300wsm@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <200810311652.38230.af300wsm@gmail.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C ]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl;t7 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= X-OS-Kernel: FreeBSD X-OS-Version: 7.0-RELEASE-p5 X-OS-Architecture: amd64 X-Uptime: 6:58AM up 17 mins, 1 user, load averages: 1.24, 1.20, 0.84 X-URL: http://wahjava.wordpress.com/ X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OpenPGP-ID: 762E5E74 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEWpqambm5uHh4d7e3 ttbW1jY2Pe3t4dHR28vLygoKCenp6SkpJOTk7////9/f35+flcgqXsAAACiUlEQVQ4jX XTz0sUURwA8NlOrkS5ZqIzUO6sCTaBMKuYrVCsM7cgyJ066EUMC5KVgnoEHlY7uJTYbn loBilH6TBvL40a5goZqexl/gWHjl72O+hh8dJub1ydH5t9L4/5fvjOe9/H+1J7/wnqZD UBKnYAQNEHYJWeUPLHsUq5BqzSeWTHnQk/QGlhctKw42fZC6Y1jgxDkiTDKHQBeKBUsN N2FJ6Xi0UXDo1dSagCugIeGCd5Esfw0gXT6pGkhC0JaRhN/nH2MI92SH4lygtiYhihid MK0zyMsTqm6jNrIqlAPxyA8TjGmbp06pwgigV0zwFr5heNM+l0OiiIkg/Wh6pArZLdCx 7oHcJVUMjxjC4HKndjWhXkb6TPLbeiJxxSMoGvqSA9Lw6yVx04QGFlyb5zGc8LGysdDu yjF9o6Qr1IUZeHci0N7q+mHza81tmNL3p26daHVJvb4Myrtjc0GsnjrKq/D9x0r+Txs7 5gDgUWZczk2bcP3IpHnJ4JyhRFyY3hzqduHzCbyNalyGVR2VWe3066sMDRVch18/x3cE +13IkpAqn6iBDbfOcCTF2nszLZIxARoh3gwt5IH8PkNTmY3eyO3va8Kzjgd+IaxgoOtf dveWG/J65jEprafu2TB8ySOJCnbWGiaxe8T7RyY3BAVwg08pfmvGA1FXZ3WzFWV7kmH8 Aoy3YeF+Qv+8D8neAUTWMiHG5M+sfgvoJVJsLroRbffABM6yEmEuVa6c++iTJhlGcjAk erarJmBg/JU+dJk83Fk4QznFPdA2HS+lwtQOVIitE4l6wFMrfDcVpZLP8De1b/dp5uhj NgdlvXLp7mvXDUHm4tnwFQGRubcPIeINMAYDpffwFxLwHEb6QJ2wAAAABJRU5ErkJggg == Organization: /\/0/\/3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Subject: Re: Authentication with SSH using public keys 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: Sat, 01 Nov 2008 01:44:58 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In <200810311652.38230.af300wsm@gmail.com>, Andrew Falanga wrote: >Hi, > >My father recently setup a new 7.0-Release system for some web development= =2E I=20 >use ssh to login remotely. I've normally not had any trouble configuring= =20 >authentication through public key encryption using ssh-keygen and such. I= =20 >have for myself a id_rsa.pub and an id_rsa key pair that I use for this=20 >purpose. > >Normally, I just copy, via scp, the file id_rsa.pub to my=20 >~/.ssh/authorized_keys file on the remote host and the next time I attempt= a=20 >login all is well. That is, I don't have to enter my password. However, = on=20 >my Dad's new machine, this isn't the case. I still have to enter the=20 >password. > >Now, I've looked through his /etc/ssh/sshd_config file and nothing in ther= e=20 >looks odd, or different, from other remote hosts I do this on. So, I'm=20 >embedding a copy/paste of an ssh login session on my father's host=20 >using -v -v to ssh: > >[/usr/home/andy/MCH] >-> ssh -v -v malumgat [...] >debug1: Authentications that can continue: publickey,keyboard-interactive >debug1: Next authentication method: publickey >debug1: Trying private key: /home/andy/.ssh/identity >debug1: Offering public key: /home/andy/.ssh/id_rsa >debug2: we sent a publickey packet, wait for reply >debug1: Authentications that can continue: publickey,keyboard-interactive It seems OpenSSH (on your dad's box) hasn't recognized your private key, so= how=20 about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his box.= Or=20 how about enabling verbose logging on his box, using 'LogLevel' parameter i= n=20 sshd_config. HTH Ashish Shukla --=20 =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkLtNcACgkQHy+EEHYuXnTAfwCgh975KgoRa22DXvtP8uZ/A6mi Dn0An03pUMCw41FfdcPebh3uN4/IJbuu =eTz5 -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--