Re: [go-nuts] ssh login failed

2017-02-07 Thread Robert Hsiung
hi all: Thanks for your information. Good job. BR Robert 2017-02-07 18:17 GMT+08:00 Han-Wen Nienhuys : > The message > > ssh: handshake failed: ssh: unexpected message type 3 (expected one of > [6]) > > is from the spate of problems/fixes due to the recent rekeying rewrite. > > For the orig

Re: [go-nuts] ssh login failed

2017-02-07 Thread 'Han-Wen Nienhuys' via golang-nuts
The message ssh: handshake failed: ssh: unexpected message type 3 (expected one of [6]) is from the spate of problems/fixes due to the recent rekeying rewrite. For the original message, it looks like the server hasn't enabled keyboard-interactive, but it's hard to tell. Easiest is to set debug

Re: [go-nuts] ssh login failed

2017-02-06 Thread Brad Fitzpatrick
Maybe Han-Wen, copied, knows. On Mon, Feb 6, 2017 at 7:00 PM, Robert Hsiung wrote: > Hi Brad: > Thanks so much for your suggestion. I run "ssh -v" and get useful > information as attachment.So,I modify the code,but occurred the different > problem as below. > ssh: handshake failed: ssh: une

Re: [go-nuts] ssh login failed

2017-02-06 Thread Robert Hsiung
Hi Brad: Thanks so much for your suggestion. I run "ssh -v" and get useful information as attachment.So,I modify the code,but occurred the different problem as below. ssh: handshake failed: ssh: unexpected message type 3 (expected one of [6]) // ftp package main import ( "fmt" "g

Re: [go-nuts] ssh login failed

2017-02-06 Thread Brad Fitzpatrick
>From looking at: ssh: unable to authenticate, attempted methods [none], no supported methods remain It seems like your ssh server requires a different authentication mode and doesn't support KeyboardInteractive (a password). Does the standard ssh client work? What does "ssh -v" say? On Mon, F

[go-nuts] ssh login failed

2017-02-06 Thread Robert Hsiung
Dear all: I tried to test sftp function with below coding,but occurred problem as below. Please give me suggestions. Thanks so much. ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain package main import ( "fmt" "github.com/pkg/sftp" "