Termux launch screenshot on Android
Termux

SSH into Android with Termux

Install Termux from Fdroid or any APK sites
you dont have to install Fdroid, you can directly download Termux APK

https://f-droid.org/en/packages/com.termux/

  1. Open Termux on your Android phone
  2. Install OpenSSH:
    pkg upgrade
    pkg install openssh
  3. Set up a password:
    passwd
  4. Find your username by running this in Termux:
    whoami

    Save this username for later. Might look like u0_a1310

  5. Find the host by running this in Termux:
    ifconfig

    Look for something like inet addr:192.168.0.4
    Save this value for later.

  6. Start the ssh server on Termux:
    sshd

    Verify that it’s running with:

    logcat -s 'ssh:*'

    You should see something like “Server listening on port 8022”

  7. On your computer, SSH into your machine on port 8022 (default port):
    ssh <username>@<jjhost> -p8022
  8. Type in your password and viola! You’re accessing Termux from your computer.
Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

19 + 18 =