These are pretty amazing set of tips. Thanks a lot for this. I will share mine but this worked on only one of my remote connections and I haven’t figured out why that happened.
So when you are doing a large computation using jupyter and there is loss of connection. There is no way to get the output of the cell back. This https://github.com/ipython/ipython/issues/4140 issue describes it in more detail. jeanpijon and lucasb-eyer solution are decent solutions for this.
Would be interested if someone found any different hack.