From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 05:13:09 2004 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 416AB16A4CE; Fri, 26 Mar 2004 05:13:09 -0800 (PST) Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB5543D31; Fri, 26 Mar 2004 05:13:08 -0800 (PST) (envelope-from jcm@FreeBSD-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 4.20) id 1B6r8z-0001ac-P7; Fri, 26 Mar 2004 13:13:05 +0000 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) i2QDD5uf050609; Fri, 26 Mar 2004 13:13:05 GMT (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.10/8.12.6/Submit) id i2QDD4YT050608; Fri, 26 Mar 2004 13:13:04 GMT Date: Fri, 26 Mar 2004 13:13:03 +0000 From: Jonathon McKitrick To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20040326131303.GA50371@dogma.freebsd-uk.eu.org> References: <20040221202305.GA78752@dogma.freebsd-uk.eu.org> <000e01c3f8bc$9ee42dc0$efe8fea9@unixsmith.com> <20040325023251.GA61864@dogma.freebsd-uk.eu.org> <20040325225859.GA22615@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4i X-Spam-Score: -4.9 (----) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1B6r8z-0001ac-P7*YMAO6T6mhLg* cc: "Christian W. Sung" cc: freebsd-stable@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: ssh no longer connecting automatically X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 13:13:09 -0000 On Fri, Mar 26, 2004 at 09:46:44AM +0100, Dag-Erling Smørgrav wrote: : Jonathon McKitrick writes: : > Interestingly, my laptop (running 4.8R) is working now. No password needed : > for any rsh operation to this site. But the same procedure on a 4.8-stable : > box (this one, now) gives this error: [...] : : It's definitely a client side problem. Try rm ~/.ssh/known_hosts. Does it matter that this fails only for protocol 2? 'ssh -1 ...' connects and asks for the password. Protocol 2 fails entirely. Here is what happens when known_hosts is deleted: debug2: mac_init: found hmac-md5 debug1: kex: server->client blowfish-cbc hmac-md5 none debug2: mac_init: found hmac-md5 debug1: kex: client->server blowfish-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug2: dh_gen_key: priv key bits set: 131/256 debug2: bits set: 499/1024 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts debug2: no key of type 0 for host dogma.freebsd-uk.eu.org debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts2 debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts2 debug3: check_host_in_hostfile: filename /home/jcm/.ssh/known_hosts debug3: check_host_in_hostfile: filename /usr/local/etc/ssh/ssh_known_hosts debug2: no key of type 1 for host dogma.freebsd-uk.eu.org The authenticity of host 'dogma.freebsd-uk.eu.org (130.88.200.97)' can't be established. DSA key fingerprint is c4:81:d6:8d:48:0e:39:ba:b3:40:e2:52:62:18:d4:f5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'dogma.freebsd-uk.eu.org,130.88.200.97' (DSA) to the list of known hosts. debug2: bits set: 513/1024 debug1: ssh_dss_verify: signature incorrect key_verify failed for server_host_key neptune:~> : : DES : -- : Dag-Erling Smørgrav - des@des.no jm -- My other computer is your Windows box.