clue / reactphp-ssh-proxy

Async SSH proxy connector and forwarder, tunnel any TCP/IP-based protocol through an SSH server, built on top of ReactPHP.
https://clue.engineering/2018/introducing-reactphp-ssh-proxy
MIT License
21 stars 7 forks source link

Support Unix domain socket (UDS) path connections #7

Open clue opened 5 years ago

clue commented 5 years ago

This project currently has a focus on creating TCP/IP-based connections. Additionally, we should provide a way to connect to a remote server that is listening on a Unix domain socket (UDS) path. For example, this is a common setup when using databases (MySQL etc.). We may be able to use the ssh -L option which also supports Unix socket paths in recent OpenSSH versions (unlike the -W and -D options).