public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: X-forwarding fails with "Invalid  MIT-MAGIC-COOKIE-1 key"
Date: Fri, 1 May 2009 08:05:27 -0700	[thread overview]
Message-ID: <49bf44f10905010805p3174c8ccp73d54178d917989d@mail.gmail.com> (raw)
In-Reply-To: <200905011700.54281.francesco.talamona@know.eu>

>> $ 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
>        Francesco

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



  reply	other threads:[~2009-05-01 15:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 15:01 [gentoo-user] X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key" Grant
2009-04-24 18:54 ` Wyatt Epp
2009-04-25 17:25   ` Grant
2009-04-25 17:59     ` Alan McKinnon
2009-04-25 17:56 ` Mike Kazantsev
2009-04-26 12:09 ` pk
2009-04-27 17:52 ` [gentoo-user] " Nikos Chantziaras
2009-04-30 15:59   ` Grant
2009-04-30 16:11     ` Alejandro
2009-04-30 16:17       ` Denis
2009-04-30 16:32     ` Stroller
2009-05-01 14:15       ` Grant
2009-05-01 15:00         ` Francesco Talamona
2009-05-01 15:05           ` Grant [this message]
2009-05-01 15:07             ` Grant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49bf44f10905010805p3174c8ccp73d54178d917989d@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox