pressly / sup

Super simple deployment tool - think of it like 'make' for a network of servers
https://pressly.github.io/sup
MIT License
2.48k stars 176 forks source link

must specify HostKeyCallback Error #156

Open aight8 opened 5 years ago

aight8 commented 5 years ago

Get the following error when try to connect: (go11.5, macos)

~/p/test> sup production echo connecting to clients failed: connecting to remote host failed: Connect("aaa@ffff.ppppp.ch:22"): ssh: must specify HostKeyCallback

d3sire commented 5 years ago

Having the same issue.

pxue commented 5 years ago

for future googlers:

until sup migrates to go mod you can compile sup with vendored version of /x/crypto/ssh by turning go mod off with:

GO111MODULE=off go get -u github.com/pressly/sup/cmd/sup

for reference, change in /x/crypto is here https://github.com/golang/go/issues/19767

kiransterling commented 2 years ago

for future googlers:

until sup migrates to go mod you can compile sup with vendored version of /x/crypto/ssh by turning go mod off with:

GO111MODULE=off go get -u github.com/pressly/sup/cmd/sup

for reference, change in /x/crypto is here golang/go#19767

When this issue will be fixed in go module?

xlab commented 2 years ago

for future googlers:

until sup migrates to go mod you can compile sup with vendored version of /x/crypto/ssh by turning go mod off with:

GO111MODULE=off go get -u github.com/pressly/sup/cmd/sup

for reference, change in /x/crypto is here golang/go#19767

This comment saved my day, thank you sir.