Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using autossh instead of ssh #1

Open
maximerischard opened this issue Oct 17, 2016 · 1 comment
Open

using autossh instead of ssh #1

maximerischard opened this issue Oct 17, 2016 · 1 comment

Comments

@maximerischard
Copy link

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?

@aaronk
Copy link

aaronk commented Oct 17, 2016

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?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgBN-WXlmtOUYezRyHw0YGVcrXKGLG9ks5q06PigaJpZM4KY1jx.

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

No branches or pull requests

2 participants