You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately this is not trivial to implement. FilesRemote doesn't use the OpenSSH client, but rather uses a more portable ssh client called Libssh2 (https://www.libssh2.org/). Unfortunately Libssh2 doesn't natively parse the .ssh/config file, so I'm doing that in FilesRemote for just a few selected parameters. Parsing happens here:
So to support the ProxyJump parameter, parsing support would need to be added to that file, and then the more tricky thing would be to get Libssh2 to first make an ssh connection to your jump box, and then probably use the function libssh2_channel_direct_tcpip() to set up a tunnel to your next hop. There's an example of its usage here: https://www.libssh2.org/examples/direct_tcpip.html
As a workaround I suggest you use another ssh client to connect to your jumpbox, do port forwarding to your next hop, and connect FilesRemote to that port. Something like this:
Hello,
It seems to not be working with SSH ProxyJump.
It would be great to be able to use it with ProxyJump.
Thanks.
The text was updated successfully, but these errors were encountered: