Golang needs to update for ssh
Opened this issue · 0 comments
streetycat commented
I start a proxy server with docker:
docker run -v $PWD/mallory.json:/root/.config/mallory.json -p 1316:1316 -p 1315:1315 -v $PWD/.ssh/id_rsa:/tmp/id_rsa zoobab/mallory
I encountered the following error:
mallory: 2023/10/24 04:53:27 main.go:30: Connecting remote SSH server: ssh://buckyos@11.22.33.44:22
mallory: 2023/10/24 04:53:28 main.go:46: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
I find it on internet, the reason is the version for Golang
.
So I update the base image to golang:latest
.
Now, it works well.