Start two ssh sessions onto netshell. Hit return on both to verify that everything is ok. On the first ssh session, start python. Again, hit return on both sessions to verify is ok. Next, start python on the second ssh session as well. Hit return on that session to verify is ok. But, going back onto the first ssh session, the connection is dead.
Problem was that the same PySystemState (i.e. the "sys" implementation) was shared among the python sessions. Create a new one for each of them now. This issue is fixed.
How to reproduce:
Start two ssh sessions onto netshell. Hit return on both to verify that everything is ok. On the first ssh session, start python. Again, hit return on both sessions to verify is ok. Next, start python on the second ssh session as well. Hit return on that session to verify is ok. But, going back onto the first ssh session, the connection is dead.