Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[farmshare-discuss] disable ssh timeout

Federico Rossi frossi2 at
Fri Sep 29 11:36:53 PDT 2017


For your use case, you may want to look into using screen
or tmux <> 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>:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the farmshare-discuss mailing list