Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
go version go1.8.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOBIN="/Users/akshay/work/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/akshay/work"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/w7/0b85306d06bfkd6sjzrz8v_80000gq/T/go-build354995448=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
I have a client that does ssh login to a openssh server. Before I updated my x/crypto/ssh the login works fine and the debug logs showed the ssh library using ssh.globalRequestMsg to authenticate. After update the library uses multiple calls of ssh.userAuthRequestMsg. And the login with the same private key fails.
Do I need to update the OpenSSH server as well ?
Any pointer on how I can debug this better ?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
I expected to see a login since I can login with the same key to the same server using an older x/crypto/ssh.
What did you see instead?
I see a unable to authenticate, attempted methods [none publickey], no supported methods remain