Created
September 30, 2022 15:12
-
-
Save ocixe/d247e92f7cf4f24308685f2cadda00a7 to your computer and use it in GitHub Desktop.
Access termux from PC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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