[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question: Support for ProxyJump / proxy commands on Windows?
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Question: Support for ProxyJump / proxy commands on Windows?
- From: DiamondSlug <DiamondSlug@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 23 Oct 2025 13:54:00 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Hello libssh team, First, thank you for the excellent library. I have a question regarding the ProxyJump functionality (or proxy commands in general) on the Windows platform. I am successfully using libssh to create SSH sessions with a ProxyJump, connecting from machine A to machine C through a jump host B. This works perfectly when all three machines are running Linux (Ubuntu). However, when I try to run the same client code on a Windows machine (to connect to the same Linux hosts), I receive the following error: "The libssh is built without support for proxy commands" I did a bit of digging in the source code, and it appears this might be intentional. I noticed in DefineOptions.cmake that WITH_EXEC is disabled for Windows, and it looks like the proxy command support in src/client.c is not implemented for Windows builds. My question is: Is there a recommended way to achieve ProxyJump functionality when using libssh on a Windows client? Is there a different build flag I should be using, a known workaround, or is this feature currently unsupported on Windows? Thank you for any guidance you can provide. Best regards, Daniel
Archive administrator: postmaster@lists.cynapses.org