Configuring Termux after a ROM-Update
Just a reminder for myself..
I recently updated the LineageOS on my mobile and hence had to revert to the official Stock ROM first. Due to this I, of course, also had to reinstall all apps.
These are the steps I do to configure Termux (Github, F-Droid) on my mobile.
- After install
pkg updatefollowed bypkg upgrade- Just
pkg upgradeis normally enough as it includes executingpkg update
- Just
- Allow Termux to access the internal shared storage, so it can read my private SSH-keys:
termux-setup-storage- Then either provide that path to the keyfile in the
.ssh/configlike this:/storage/emulated/0/<folder on storage> - Or copy the private keyfile to
~/.ssh/, then you are able to revoke the storage permissions again- We can't set permissions on the shared storage EVERY app will be able to read our private key..
- Then either provide that path to the keyfile in the
- Install correct SSH package and agent:
pkg install openssh(openssh contains the ssh-agent)- Create
~/.ssh/configand test it
- Create
- Test SSH-Connections to various servers
- Install various tools
pkg install dnsutils openssl-tool nmap traceroute