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
Sometimes the ssh connection drops, which means I have to restart the ipython notebook server in order to reset the tunnel. When setting up a tunnel between my local machine and an odyssey login node, I found that using autossh helped a lot, so I'd like to do the same here. I see you've got an ssh_cmd option in spunnel.c, which seems like exactly what I need, but I'm not sure how to set that option when using the --tunnel flag in srun. Is there a way to set the ssh binary there, or through an environment variable?
The text was updated successfully, but these errors were encountered:
Hmm. I'm willing to try that. We don't currently have autossh on Odyssey, though.
ajk
On Oct 17, 2016, at 12:35 PM, Maxime Rischard [email protected] wrote:
Sometimes the ssh connection drops, which means I have to restart the ipython notebook server in order to reset the tunnel. When setting up a tunnel between my local machine and an odyssey login node, I found that using autossh helped a lot, so I'd like to do the same here. I see you've got an ssh_cmd option in spunnel.c, which seems like exactly what I need, but I'm not sure how to set that option when using the --tunnel flag in srun. Is there a way to set the ssh binary there, or through an environment variable?
Sometimes the ssh connection drops, which means I have to restart the ipython notebook server in order to reset the tunnel. When setting up a tunnel between my local machine and an odyssey login node, I found that using autossh helped a lot, so I'd like to do the same here. I see you've got an
ssh_cmd
option in spunnel.c, which seems like exactly what I need, but I'm not sure how to set that option when using the--tunnel
flag in srun. Is there a way to set the ssh binary there, or through an environment variable?The text was updated successfully, but these errors were encountered: