@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
Here is about what termux is capable of:
https://wiki.termux.com/wiki/Main_Page