-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forward named pipe through SSH tunnel #435
Comments
Named pipes have to be handled differently(not like regular socket) in the win32compat socket-io layer. |
SSH doesn't seem to support forwarding files (things that use the file APIs, including *nix FIFOs/named pipes and Windows named pipes). This is awkward, since Windows named pipes really are NT's equivalent of Unix domain sockets. There ought to be a way to connect to pipes (Unix or Windows) using file APIs on the remote end, but I don't know of one. |
This is currently not supported but should work once AF_UNIX sockets support is added in POSIX adapter layer. |
@manojampalam Any updates on that AF_UNIX socket support? I just tried this with OpenSSH on Windows Server 2019 and got a slightly different error:
|
@aidansteele sorry. Nothing in the horizon yet. |
@manojampalam Any update on this? |
PowerShell/openssh-portable#433 looks promising. Can anyone pick this up? |
(This is a cross-post from Stackoverflow)
I'd like to forward a named pipe over SSH, from remote Windows machine to a local machine. The remote Windows machine is running
sshd
. The pipe I want to forward is for the Docker Engine API, although that shouldn't matter.To forward an equivalent Unix domain socket from a remote Unix machine, I'd run (and this works):
The equivalent for a remote Windows machine named pipe would be:
Running sshd in debug mode, I see this when trying to connect through the tunnel:
The text was updated successfully, but these errors were encountered: