Skip to content

Building holepunch client #10

@develamit

Description

@develamit

Hi joonas-fi,
I am new to this and I am trying to build and use your code by following the README. But I am falling short. Could you please update the README on how I can build holepunch client and execute it?

Also, if the remote server has the sshd running on a port other than 22, then how can I introduce custom port in the json file?

So far I have done this:

  1. Edited a file holepunch.json (similar to holepunch.example.json) and kept it in cmd/holepunch directory.
  2. Put an extra line: "port" : <custom_port_num> under "ssh_server": {...} since my ssh server uses a custom port for sshd and not the regular 22
  3. Invoked the command: go build main.go

But I am unable to make this work by following the README. I am getting errors.
Thanks,
-amit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions