Search Mailing List Archives
[farmshare-discuss] disable ssh timeout
frossi2 at stanford.edu
Fri Sep 29 11:36:53 PDT 2017
For your use case, you may want to look into using screen
or tmux <https://github.com/tmux/tmux/wiki> to keep your session alive even
when you log off/ssh drops out.
With screen, creating a new session is as simple as typing screen. You may
then start your jupyter notebooks inside screen as you normally do (jupyter
notebook). You can then detach from screen with ctrl-a d and close your
ssh connection: the process or processes inside screen will stay alive. The
next time you log in (to the same machine), you can resume your screen
session with screen -r. You can kill a screen session by typing exit inside
the session or by using ctrl-a k.
Hope this helps!
2017-09-29 11:28 GMT-07:00 Ismael Lemhadri <lemisma at stanford.edu>:
> I connect to the farmshare 2 servers from my Windows using Putty. Even
> though I have set up putty to send keepalives every 1 minute, my SSH
> connection gets disconnected after a while (not more than one hour).
> This is problematic because I need to run Jupyter notebooks on a constant
> basis on the clusters.
> Is there a workaround?
> farmshare-discuss mailing list
> farmshare-discuss at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the farmshare-discuss