From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LzuIq-0007Vz-HQ for garchives@archives.gentoo.org; Fri, 01 May 2009 15:05:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94088E0435; Fri, 1 May 2009 15:05:27 +0000 (UTC) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by pigeon.gentoo.org (Postfix) with ESMTP id 73E88E0435 for ; Fri, 1 May 2009 15:05:27 +0000 (UTC) Received: by gxk24 with SMTP id 24so4757947gxk.10 for ; Fri, 01 May 2009 08:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=fPuccFNUplBHQr9l2AooRHg4kwX/hmevWYkQjvfmBjM=; b=MXAdbPXL/Rd4umwLhj/G/f8MQvDoEuit43WUaivz0lJEWQoAcM4CQ5pmCKFLURrnJH gMsUZLKbtcGlXTzThcRWVMtY7dIuGaTLkm5x7fz6ByN9j8M1vONR0qBsZQH0rQOMQkr2 +/UlZoVVxTyibebpDf2mmY+8sN3oVczMawHhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lE3CHtmDcfYk7cW2j5Ch8XW4VSXZ/ENamukr93JHU1lOFjjkYIiq7CK+77CuT3fn1j f90tq0rPllYNVOhb4On/P5VNN/wyxDbBv4w+8ukKCYDo/fZg9L9hx76qiQ9bb/uCmDrr B4PKaPHz7NUlFa6M8Eish6IZUYnWIBalG6Lvg= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.90.116.6 with SMTP id o6mr2344495agc.34.1241190327093; Fri, 01 May 2009 08:05:27 -0700 (PDT) In-Reply-To: <200905011700.54281.francesco.talamona@know.eu> References: <49bf44f10904240801x2f5e4236v16c297859cc5c9d7@mail.gmail.com> <49bf44f10905010715j72720a89p93e1ff11a417818c@mail.gmail.com> <200905011700.54281.francesco.talamona@know.eu> Date: Fri, 1 May 2009 08:05:27 -0700 Message-ID: <49bf44f10905010805p3174c8ccp73d54178d917989d@mail.gmail.com> Subject: Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 65ed0b80-e51a-4835-9e90-83f93d3f282a X-Archives-Hash: 5482304bb931603c32e52613a50c3368 >> $ ssh -Y 192.168.10.1 >> The authenticity of host '192.168.10.1 (192.168.10.1)' can't be >> established. RSA key fingerprint is. >> Are you sure you want to continue connecting (yes/no)? yes >> Failed to add the host to the list of known hosts >> (/home/grant/.ssh/known_hosts). > > I think the problem is here: too strict permissions in ~/.ssh preventing > ssh to update known_hosts list, needed to continue connection. it > should be 700 for the .ssh directory and 600 for the file known_hosts. > > What is the output of: ls -l .ssh -d ? And ls -l .ssh ? > Is 192.168.10.1 in your known_hosts? > With the right RSA key? > > Ciao > =A0 =A0 =A0 =A0Francesco Thanks again everyone, it's working after a reboot. X has been strange since the xorg-1.5 upgrade. I noticed that ssh -X fails with the same error message I've been getting, but ssh -Y succeeds. man ssh says: -Y Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls. Security extension controls sounds like a good thing. Does anyone know why -X isn't working? - Grant