golang / gddo

Go Doc Dot Org
https://godoc.org
BSD 3-Clause "New" or "Revised" License
1.1k stars 265 forks source link

ssh.ClientAuth undefined function #549

Closed ezzoueidi closed 6 years ago

ezzoueidi commented 6 years ago

Hey folks,

I am having this error: undefined: ssh.ClientAuth while building my script. I am importing this package "golang.org/x/crypto/ssh". However, I still experiencing the same behavior.

Refering to this thread[1] in google groups; the guy there have succeeded building/running the SSH func using the version 1.6 of go.

Besides, based on this thread in the maillist of go-nuts, the crypto/ssh go package was changed on April 9th 2016. Althoguh, I tried to update all the packages and its sub-packages by running the following go command:

go get -u -v golang.org/x/crypto/...

The update succeeded, but I am still having the same behavior.