Yes, the worker is launched on the machines specified in the machinefile
(or addprocs). The tunnel is only used to connect to the worker.

Writing your own cluster manager to start the worker, which is then
connected to via a ssh tunnel should work.



On Tue, Feb 11, 2014 at 8:40 AM, James Porter <porterjam...@gmail.com>wrote:

> I have the following situation:
>
> I have direct ssh access to a login node. From the login node, I have ssh
> access to the actual compute nodes that I want to spawn workers on. I don't
> have access to these nodes directly from my machine. I usually do a two-hop
> ssh into workers via something like this:
>
> ssh me@$LOGIN_NODE -t "ssh me@$WORKER_NODE"
>
> Does the ssh stuff in Base support spawning workers like this? I looked at
> the `tunnel` option to addprocs but it doesn't look like there's a way to
> specify a machine to use as the first hop, which makes me suspect this is
> not what I'm looking for. If not how would I go about doing so? Write a
> ClusterManager for it?
>
> Cheers,
> James
>

Reply via email to