Skip to content

Conversation

mortenpi
Copy link

I have not tested this (hopefully CI with catch any obvious issues!), but my hope is that since the ssh use is pretty simple, it should be fine.

OpenSSH_jll.ssh() do ssh_exe
# Tunnel binds locally to $tunnel_interface:$tunnel_port
# The other end jumps through $host using the provided identity,
# and forwards the data to $port on *itself* (this is the localhost:$port
# part - "localhost" being resolved relative to $host)
ssh_cmd = `$ssh_exe $ssh_opts -o ExitOnForwardFailure=yes -o ServerAliveInterval=60
-N -L $tunnel_interface:$tunnel_port:localhost:$port $host`
@debug "Connecting SSH tunnel to remote address $host via ssh tunnel to $port" ssh_cmd
comm_pipeline(ssh_cmd)
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant