Here is a modified version of Stuart's original script that works with a torque/maui job scheduler:

I've cleaned up and reorganized a bit and added a signal handler that ensures a job does not stay running on the cluster after we disconnect or if the script crashes for some reason.

Hope it's useful for others,


On Mon, Nov 25, 2013 at 3:44 PM, Andrew Myers <> wrote:
Hi John,

Here it is. It's essentially the same as Stuart's, except that instead of asking the scheduler for a compute node, it chains multiple ssh commands together. This probably won't work if your machines are set up to prompt you for a password interactively.


On Sun, Nov 24, 2013 at 5:57 PM, John ZuHone <> wrote:

Can you post that somewhere?

John Z

John ZuHone
Laboratory for High-Energy Astrophysics
NASA/Goddard Space Flight Center
8800 Greenbelt Rd., Mail Code 662
Greenbelt, MD 20771

On Nov 24, 2013, at 7:52 PM, Andrew Myers <> wrote:

Hi Stuart,

Thanks a bunch for sharing that script! I was able to modify to do what I wanted. 


On Sat, Nov 23, 2013 at 3:42 PM, Stuart Mumford <> wrote:

I use this script to tunnel into a worker node on a cluster, it may be helpful.


On 23 Nov 2013 23:36, "Andrew Myers" <> wrote:
Hello yt users,

I have a (perhaps naive) ssh question related to the yt notebook. I would like to run a yt notebook server on machine A. However, machine A cannot be directly accessed via ssh from the wider internet. Instead, I must first ssh into machine B, and then ssh from B to A. Machine B cannot run the notebook server itself. Does anyone know how I can configure things - perhaps by using a more complicated ssh tunnel command - so I that access a notebook server running on machine A through machine B? 


yt-users mailing list

yt-users mailing list

yt-users mailing list

yt-users mailing list

yt-users mailing list