Termux Cheatsheet

Table of contents

SSH

To start ssh:

$ sshd -p PORT

To kill ssh:

$ pkill sshd

To add key:

Edit /data/data/com.termux/usr/etc/ssh/sshd_config to allow password authentication.

Then, from the machine you want to add the key:

ssh-copy-id -p PORT -i KEY IP_ADDRESS

Then be sure to turn off pathword authentication.