Han-Wen Nienhuys
9e7f5dc375
x/crypto/ssh: interpret disconnect message as error in the transport layer.
...
This ensures that higher level parts (e.g. the client authentication
loop) never have to deal with disconnect messages.
Fixes https://github.com/coreos/fleet/issues/565 .
Change-Id: Ie164b6c4b0982c7ed9af6d3bf91697a78a911a20
Reviewed-on: https://go-review.googlesource.com/20801
Reviewed-by: Anton Khramov <anton@endocode.com >
Reviewed-by: Adam Langley <agl@golang.org >
2016-03-29 14:38:23 +00:00
Han-Wen Nienhuys
c169681727
crypto/ssh: fix deadlock during error condition.
...
Unblock writers if a read error occurs while writers are blocked on a
pending key change.
Add test to check for deadlocks in error paths in handshake.go
Fixes golang/go#11992 .
Change-Id: Id098bd9fec3d4fe83daeb2b7f935e5647c19afd3
Reviewed-on: https://go-review.googlesource.com/13594
Reviewed-by: Adam Langley <agl@golang.org >
2015-08-17 22:20:11 +00:00
hanwen
2f3083f616
crypto/ssh: allow client to specify host key algorithms.
...
Fixes golang/go#11722 .
Change-Id: I4fa2a1db14050151f9269427ca35cf7ebd21440a
Reviewed-on: https://go-review.googlesource.com/12907
Reviewed-by: Adam Langley <agl@golang.org >
2015-08-04 13:06:53 +00:00
David du Colombier
fcdb74e78f
ssh: skip TestHandshakeBasic on Plan 9
...
Updates golang/go#7797 .
Change-Id: I7aa57f3fb812ecf644c8f8c065848938868e473b
Reviewed-on: https://go-review.googlesource.com/12767
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2015-07-30 09:22:02 +00:00
Adam Langley
fa50e7408b
go.crypto/ssh: import gosshnew.
...
See https://groups.google.com/d/msg/Golang-nuts/AoVxQ4bB5XQ/i8kpMxdbVlEJ
R=hanwen
CC=golang-codereviews
https://golang.org/cl/86190043
2014-04-09 13:57:52 -07:00