Follow

Using a PC to SSH into the UBPorts PinePhone makes things so much easier.

@supernova
You can do that with regular android and termux, just don't know how far can you go with it

@nikolal You mean adb shell? I never really played with that much. Maybe its the same. But with a Debian based system I am familiar with it. And you can do ssh keys, is that possible with adb?

@supernova
No, I mean SSH. I use termux and SSH to connect to remote machines, but its possible to connect to Android phone from othet machine, see here for details.
wiki.termux.com/wiki/Remote_Ac

@nikolal OK I see, yeah I'm not surprised that you can setup an ssh server with Termux. I never really felt the need to do that with Android, installing packages just by downloading the apk worked well enough and I never ran across any situation in my use cases where a CLI would be necessary. Using a mainline derived distro on a phone though the CLI is just so much easier since many things are accomplished this way.

@supernova
Yes, I've never had need to access my phone with CLI either, but I have need for termux only to maintain my remote machines, also I use termux to run pythin scripts from my raspberry pi for some calculation needs, so it does come in handy for me.

@supernova
Ony bad thing with Termux is that it doesn't have consistent connectivity, meaning that your phone has to be awake and screen focused on app for it to maintain ssh connection. If you have needs for better connectivity than termux you can use this, people say its prommising.
mosh.org/

@nikolal I wonder if you disable battery optimization in Termux if that would force it to remain active. Just be sure to exit when you are truly done so not to waste battery!

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!