9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ssh handshake failed
@ 2015-03-27 16:48 Rudolf Sykora
  2015-03-27 17:02 ` Brian L. Stuart
  2015-03-27 17:09 ` mischief
  0 siblings, 2 replies; 3+ messages in thread
From: Rudolf Sykora @ 2015-03-27 16:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

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.)

Thank you
Ruda



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] ssh handshake failed
  2015-03-27 16:48 [9fans] ssh handshake failed Rudolf Sykora
@ 2015-03-27 17:02 ` Brian L. Stuart
  2015-03-27 17:09 ` mischief
  1 sibling, 0 replies; 3+ messages in thread
From: Brian L. Stuart @ 2015-03-27 17:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] ssh handshake failed
  2015-03-27 16:48 [9fans] ssh handshake failed Rudolf Sykora
  2015-03-27 17:02 ` Brian L. Stuart
@ 2015-03-27 17:09 ` mischief
  1 sibling, 0 replies; 3+ messages in thread
From: mischief @ 2015-03-27 17:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs, Rudolf Sykora

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

I encourage you to try scpu.

https://bitbucket.org/mischief/scpu

There are binaries available in 9front pkg repos.


On March 27, 2015 9:48:15 AM PDT, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
>Hello,
>
>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.)
>
>Thank you
>Ruda

[-- Attachment #2: Type: text/html, Size: 824 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-27 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27 16:48 [9fans] ssh handshake failed Rudolf Sykora
2015-03-27 17:02 ` Brian L. Stuart
2015-03-27 17:09 ` mischief

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).