There is a time limit for iOS port forwarding. However, if we can forward the port using python scripts within Pythonista and open a web browser using the built-in webbroswer module, then we can stay as long as we want. For example, I start a jupyter notebook server on a computer, then I can use the notebooks on any iOS device.
The problem is how to initiate the port forwarding. The module paramiko is a built-in module. But the module might have some unfixed bugs and the documentation is also confusing.
Can anyone produce a minimum script? Or it is possible at all to do ssh port forwarding using pythonista?