Skip to content

forwardOut where local listener is unix domain socket #391

@ggoodman

Description

@ggoodman

I wasn't able to figure out how to get forwardOut-like behaviour over unix domain sockets.

I would like to create a tunnel to a remote ssh server and create a local forwarder that is a unix socket instead of a port.

The reason that I need to do this is that the service that needs to do this is running in a --net=host Docker container in a multi-tenant environment. This means that opening a port would make the tunnel open to any other tenant whereas the environment provides a namespaced r/w filesystem.

Any ideas? Thanks for ssh2. It is mind-blowing what can be done in pure js and how easy it is to use thanks to this lib.

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