05-16-2021, 01:28 PM
Glad you got it working! It's actually pretty easy once you see how it works.
But yes, when you unmount the sshfs connection the ssh server is still running on the Pinephone. In fact you probably have it running all the time anyway at the moment, which is an obvious security issue if you will be using the phone on public wifi or cellular internet.
What I do is run the ssh server on an alternate port, set it up to only accept key-based logins, and firewall off the port from everything but my home LAN's subnet.
Alternately you could just configure the ssh server so it does not start automatically at boot time and just start/stop it manually as needed.
But yes, when you unmount the sshfs connection the ssh server is still running on the Pinephone. In fact you probably have it running all the time anyway at the moment, which is an obvious security issue if you will be using the phone on public wifi or cellular internet.
What I do is run the ssh server on an alternate port, set it up to only accept key-based logins, and firewall off the port from everything but my home LAN's subnet.
Alternately you could just configure the ssh server so it does not start automatically at boot time and just start/stop it manually as needed.