-
I have an iPad Pro and a Raspberry Pi running 64Bit Rasbian. I’ve connected the Pi to the iPad via an Ethernet USB C connection. I would like to securely expose code-server via the Ethernet connection alone while using WiFI on on the Pi. One option seems to be using an ssh client on the iPad to port forward the connection. The apparent drawback is a broken connection when the ssh app is backgrounded. Otherwise, it should work. Another option that suffers from the same drawback is Servediter. Another option that should almost get me there is setting up mDNS via avahi to get a domain name and using a self signed certificate. As far as I understand it, this would expose code-server on the local network connected to the WiFi. Another possible option is to use something like raspap to have a hotshot on the Pi and forget about the USB connection though I haven’t though this through completely. Am I making this too complicated? What experiences have people had and what resources have I missed? My main use case would be the Pi connected to an untrusted LAN via WiFi (say while traveling). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Would @bpmct might be able to help |
Beta Was this translation helpful? Give feedback.
-
I was not using the Quick summary of what I've done:
|
Beta Was this translation helpful? Give feedback.
As I feared, the ssh connection via an iPad ssh app drops pretty quickly (within 10-15 seconds) when the app is backgrounded. (Tested with both iSH and Blink using the geo track option.) Split screen seems to be fine in terms of stability (so far).I was not using the
geo lock
command correctly on Blink. Supplying a reasonable radius for the geo lock gives a robust connection that is stable even after the iPad sleeps.Quick summary of what I've done: