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 - Allow Termux to access the SD-Card 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 SD-Card> - Or copy the private keyfile to
~/.ssh/, then you are able to revoke the storage permissions again.
- Then either provide that path to the keyfile in the
- Install correct SSH package and agent:
pkg install ssh-agent openssh- Create
~/.ssh/configand test it
- Create
- Test SSH-Connections to various servers
- Install various tools
pkg install dnsutilsopenssl-tool nmap traceroute