Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Golang needs to update for ssh #31

@streetycat

Description

@streetycat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions