Eugeny / russh

Rust SSH client & server library
https://docs.rs/russh
854 stars 87 forks source link

streamlocal-forward support #311

Open kanpov opened 2 months ago

kanpov commented 2 months ago

Remote UDS => local UDS

kanpov commented 2 months ago

I'll try to contribute

kanpov commented 2 months ago
Similar to tcpip-forward, streamlocal-forward is sent by the client
to request remote forwarding of a Unix domain socket.

    byte        SSH2_MSG_GLOBAL_REQUEST
    string      "streamlocal-forward@openssh.com"
    boolean     TRUE
    string      socket path

Similar to cancel-tcpip-forward, cancel-streamlocal-forward is sent
by the client cancel the forwarding of a Unix domain socket.

    byte        SSH2_MSG_GLOBAL_REQUEST
    string      "cancel-streamlocal-forward@openssh.com"
    boolean     FALSE
    string      socket path
kanpov commented 2 months ago

@Eugeny Tried to do this in #312