9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Brian L. Stuart" <blstuart@bellsouth.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ssh handshake failed
Date: Fri, 27 Mar 2015 10:02:27 -0700	[thread overview]
Message-ID: <1427475747.85840.YahooMailBasic@web184702.mail.ne1.yahoo.com> (raw)
In-Reply-To: <CAOEdRO2QkmhNiGMRd1jRg-EH6LdH6fMO9wpaRmi1h79tvTcbUQ@mail.gmail.com>

> trying to connect from 9atom via ssh (v2) to my linux machine I get:
>
> ssh: dial: handshake failed
>
> What should I check that might have gone wrong?
> (The machine is otherwise accessible from other systems via
> ssh.)

The first thing to check is whether the Linux box is configured to
do password auth or just "keyboard interactive" auth.  It seems
that OpenSSH these days defaults to having real password auth
turned off, but keyboard interactive turned on.  It's usually implemented
so that it looks the same to the end user, but the protocol is
different.  The SSHv2 implementation does not currently support
keyboard interactive.

Having said that, I seem to remember that the handshake failed
error actually occurs before you get to the auth stage.  It's very
early in the negotiation when the two sides exchange identities
and supported versions.  It's possible to run the tunnel with debugging
turned on and see what is being exchanged and what is being
complained about.  Similarly, you might look at logs on the Linux
side to see if there's something it's complaining about.

BLS




  reply	other threads:[~2015-03-27 17:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 16:48 Rudolf Sykora
2015-03-27 17:02 ` Brian L. Stuart [this message]
2015-03-27 17:09 ` mischief

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=1427475747.85840.YahooMailBasic@web184702.mail.ne1.yahoo.com \
    --to=blstuart@bellsouth.net \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).