Gentoo Archives: gentoo-user

From: Francesco Talamona <francesco.talamona@××××.eu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key"
Date: Fri, 01 May 2009 15:01:02
Message-Id: 200905011700.54281.francesco.talamona@know.eu
In Reply to: Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" by Grant
1 On Friday 01 May 2009, Grant wrote:
2 > $ ssh -Y 192.168.10.1
3 > The authenticity of host '192.168.10.1 (192.168.10.1)' can't be
4 > established. RSA key fingerprint is.
5 > Are you sure you want to continue connecting (yes/no)? yes
6 > Failed to add the host to the list of known hosts
7 > (/home/grant/.ssh/known_hosts).
8
9 I think the problem is here: too strict permissions in ~/.ssh preventing
10 ssh to update known_hosts list, needed to continue connection. it
11 should be 700 for the .ssh directory and 600 for the file known_hosts.
12
13 What is the output of: ls -l .ssh -d ? And ls -l .ssh ?
14 Is 192.168.10.1 in your known_hosts?
15 With the right RSA key?
16
17 Ciao
18 Francesco
19
20
21 --
22 Linux Version 2.6.29-gentoo-r2, Compiled #7 SMP PREEMPT Thu Apr 30
23 19:25:11 CEST 2009
24 Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.40 Bogomips Total
25 aemaeth

Replies