Closed Sirse closed 3 weeks ago
Can you please try to install the new version from https://ropensci.r-universe.dev/ssh ?
Still don't work. Timeout with ProxyJump directive (trying to connect internal IP 172...* without hops?), and error with ProxyCommand directive: libssh failure at 'connect': The libssh is built without support for proxy commands.
Probably win dll libssh should be compiled with flag?
Looks like this is not supported in libssh as WITH_EXEC
is explicitly disabled on Windows: https://gitlab.com/libssh/libssh-mirror/blob/master/DefineOptions.cmake#L66-68
The reason is that libssh uses fork()
on the server to support executing server commands, which is not supported on Windows.
@cryptomilk is there a way to enable WITH_EXEC on the client only such that we can send ProxyJump on Windows clients?
OpenSSH client (native) works like a charm, but R doesn't connects to server with two jumps. Seems like current libssh version doesn't support ProxyJump directive. According to changelog should work with libssh 0.11.