When I turn my iPhone(7+) on either side, the screen goes black and when I turn the phone upright the screen returns but the ssh session has been stopped.
In passing, any external processes are left running when the app blacks out. Example: If I'm controlling a relay withe app, when the app blacks out, as when the phone is turned on its side, the relays are left in that state when the blackout occurred.
When I turn my iPhone(7+) on either side, the screen goes black and when I turn the phone upright the screen returns but the ssh session has been stopped. In passing, any external processes are left running when the app blacks out. Example: If I'm controlling a relay withe app, when the app blacks out, as when the phone is turned on its side, the relays are left in that state when the blackout occurred.