Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Golang needs to update for ssh #31

Open
streetycat opened this issue Oct 24, 2023 · 0 comments
Open

Golang needs to update for ssh #31

streetycat opened this issue Oct 24, 2023 · 0 comments

Comments

@streetycat
Copy link

streetycat commented Oct 24, 2023

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://[email protected]: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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant