Skip to content

Instantly share code, notes, and snippets.

@lexavey
Created September 30, 2022 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lexavey/d247e92f7cf4f24308685f2cadda00a7 to your computer and use it in GitHub Desktop.
Save lexavey/d247e92f7cf4f24308685f2cadda00a7 to your computer and use it in GitHub Desktop.
Access termux from PC
## first install open ssh
apt install openssh
## start ssh
sshd
## in pc
adb forward tcp:8022 tcp:8022
## then
ssh -p 8022 root@localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment